<commit_before><?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
                    http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
	<!-- Copyright 2007-2009 The Kuali Foundation Licensed under the Educational
		Community License, Version 2.0 (the "License"); you may not use this file
		except in compliance with the License. You may obtain a copy of the License
		at http://www.opensource.org/licenses/ecl2.php Unless required by applicable
		law or agreed to in writing, software distributed under the License is distributed
		on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
		express or implied. See the License for the specific language governing permissions
		and limitations under the License. -->

	<bean id="UifComponentsView" parent="FormView">
		<property name="id" value="UifComponentsView" />
		<property name="title" value="Uif Components" />
		<property name="entryPageId" value="uifpage1" />
		<property name="navigation">
			<ref bean="UifComponentsViewMenu" />
		</property>
		<property name="items">
			<list>
				<bean parent="Page" p:id="uifpage1" p:title="UI Components">
					<property name="items">
						<list>
							<bean parent="ActionLinkField_JumpToBottom" p:actionLabel="Jump To Bottom Demo" />
							<bean id="ActionLinkField_JumpToField3" parent="ActionLinkField"
								p:clientSideJs="jumpToElementByName('field80');"
								p:actionLabel="Jump to field with property name Field80 (first field of FieldGroup1)" />
							<bean id="ActionLinkField_FocusOnField79" parent="ActionLinkField"
								p:clientSideJs="focusOnElementByName('field79');"
								p:actionLabel="Focus on field with property name Field79 (size 60 text field)" />
							<bean id="ActionLinkField_FocusOnIdTest123" parent="ActionLinkField"
								p:clientSideJs="focusOnElementById('Test123');" p:actionLabel="Focus on field with id Test123 (Date1 field)" />
							<ref bean="textFields-Section1" />
							<ref bean="dateFields-Section2" />
							<ref bean="selectionFields-Section3" />
							<ref bean="fieldGroups-Section4" />
							<ref bean="tabsSection-Section5" />
							<ref bean="tree-Section6" />
							<ref bean="misc-Section7" />
						</list>
					</property>
				</bean>
				<bean parent="Page" p:id="uifpage2" p:title="Validation"
					p:instructionalText="Take note of the constraintText text underneath field inputs, they describe the validation constraint for that field.  Validation constraints are evaluated by default when a user leaves a field, if the user has not satisfied the requirement, the ui will alert them of their error.  When they return to a field the ui will dynamically remove the error as they correct it and note any additional errors they may have caused.">
					<property name="items">
						<list>
							<ref bean="minMaxSection" />
							<ref bean="requiredSection" />
							<ref bean="preReqSection" />
							<ref bean="mustOccursSection" />
							<ref bean="caseConstraintSection" />
						</list>
					</property>
				</bean>
				<bean parent="Page" p:id="uifpage3"
					p:title="Validation - Regex Patterns, the ValidCharactersConstraint">
					<property name="items">
						<list>
							<ref bean="regex1" />
						</list>
					</property>
				</bean>
				<bean parent="Page" p:id="uifpage4"
					p:title="Progressive Disclosure and Conditional Refresh"
					p:instructionalText="Fields and Groups (ONLY!) can have conditions in which they show themselves on the page or in which they refresh themselves.  Refreshing is defined as requesting an new component from the server (which may or may not be the same element ui wise).">
					<property name="items">
						<list>
							<ref bean="prog1" />
							<ref bean="prog2" />
							<ref bean="prog3" />
						</list>
					</property>
				</bean>
				<bean parent="Page" p:id="uifpage5"
					p:title="Lookups, Inquiry, and SuggestBoxes inline"
					p:instructionalText="Lookups and Inquiries backed by BO searches can be used on fields to fill in their values, as well as SuggestBoxes backed by a query">
					<property name="items">
						<list>
							<ref bean="lookups1" />
						</list>
					</property>
				</bean>
				<bean parent="Page" p:id="uifpage6" p:title="Collections"
					p:instructionalText="Lists of Data Objects">
					<property name="items">
						<list>
							<ref bean="collection1" />
							<ref bean="collection2" />
							<ref bean="collection6" />
							<ref bean="collection3" />
							<ref bean="collection4" />
							<ref bean="collection5" />
						</list>
					</property>
          <property name="header">
            <bean parent="HeaderPage_AccordionEdit"/>
          </property>
				</bean>
				<bean parent="Page" p:id="uifpage7" p:title="Errors"
					p:instructionalText="ErrorsField options examples - same fields are used over and over to demonstrate; server errors, warnings, and information are for demonstration purposes.  NOTE: ANYTHING seen in the following groups can also be applied to the page level as it is also a group.  ErrorsField options are also available on AttributeFields.">
					<property name="items">
						<list>
							<ref bean="errors1" />
							<ref bean="errors2" />
							<ref bean="errors3" />
							<ref bean="errors4" />
						</list>
					</property>
				</bean>
				<bean parent="Page" p:id="uifpage8" p:title="Other Examples"
					p:instructionalText="Other examples for developer reference">
					<property name="items">
						<list>
							<ref bean="remotableFieldsGroup" />
              <ref bean="miscGroup" />
						</list>
					</property>
				</bean>
			</list>
		</property>
    <property name="additionalCssFiles" ref="ks-css"/>
    <property name="viewHelperServiceClassName"
              value="edu.sampleu.travel.krad.controller.UIfComponentsViewHelperServiceImpl"/>
    <property name="formClass" value="edu.sampleu.travel.krad.form.UILayoutTestForm"/>
	</bean>

	<bean id="UifComponentsViewMenu" parent="NavigationGroupMenu">
		<property name="items">
			<list>
				<bean parent="HeaderTwo" p:headerText="Navigation" />
				<bean parent="NavigationActionLinkField" p:navigateToPageId="uifpage1"
					p:actionLabel="UI Components" />
				<bean parent="NavigationActionLinkField" p:navigateToPageId="uifpage2"
					p:actionLabel="Validation" />
				<bean parent="NavigationActionLinkField" p:navigateToPageId="uifpage3"
					p:actionLabel="Validation - Regex" />
				<bean parent="NavigationActionLinkField" p:navigateToPageId="uifpage4"
					p:actionLabel="Progressive Disclosure" />
				<bean parent="NavigationActionLinkField" p:navigateToPageId="uifpage5"
					p:actionLabel="Lookups, etc" />
				<bean parent="NavigationActionLinkField" p:navigateToPageId="uifpage6"
					p:actionLabel="Collections" />
				<bean parent="NavigationActionLinkField" p:navigateToPageId="uifpage7"
					p:actionLabel="Error Layout" />
				<bean parent="NavigationActionLinkField" p:navigateToPageId="uifpage8"
					p:actionLabel="Other Examples" />
			</list>
		</property>
		<property name="componentOptions">
			<map>
				<entry key="animate" value="true" />
				<entry key="slideout" value="true" />
			</map>
		</property>
	</bean>

	<bean id="textFields-Section1" parent="Group"
		p:layoutManager.orientation="VERTICAL">
		<property name="accordion.render" value="false" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<ref bean="textControls1" />
				<ref bean="textControls2" />
				<bean parent="textControls3" />
				<bean parent="textAreas" />
			</list>
		</property>
	</bean>

	<bean id="textControls1" parent="Group"
		p:layoutManager.orientation="HORIZONTAL">
		<property name="title" value="Attribute Field Options" />
		<property name="accordion.render" value="false" />
		<property name="items">
			<list>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="TOP" p:instructionalText="Label top, no colon"
					p:labelField.styleClasses="labelTop" p:labelField.renderColon="false"
					p:propertyName="field1">
					<property name="control">
						<bean parent="TextControl" p:size="30" />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="TOP" p:instructionalText="Label top, with colon"
					p:labelField.styleClasses="labelTop" p:labelField.renderColon="true"
					p:propertyName="field1">
					<property name="control">
						<bean parent="TextControl" p:size="30" />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:instructionalText="Label left, with colon" p:labelField.renderColon="true"
					p:propertyName="field1">
					<property name="control">
						<bean parent="TextControl" p:size="30" />
					</property>
				</bean>

			</list>
		</property>
	</bean>

	<bean id="textControls2" parent="Group"
		p:layoutManager.orientation="HORIZONTAL">
		<property name="accordion.render" value="false" />
		<property name="title" value="Attribute Field Options 2" />
		<property name="items">
			<list>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="RIGHT" p:instructionalText="Label right" p:propertyName="field1">
					<property name="control">
						<bean parent="TextControl" p:size="30" />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="TOP" p:instructionalText="With constraintText text"
					p:constraintText="Constraint text" p:labelField.styleClasses="labelTop"
					p:labelField.renderColon="false" p:propertyName="field1">
					<property name="control">
						<bean parent="TextControl" p:size="30" />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true"
					p:labelPlacement="TOP" p:instructionalText="No label"
					p:labelField.styleClasses="labelTop" p:labelField.renderColon="false"
					p:propertyName="field1">
					<property name="control">
						<bean parent="TextControl" p:size="30" />
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<bean id="textControls3" parent="Group"
		p:layoutManager.orientation="HORIZONTAL">
		<property name="accordion.render" value="false" />
		<property name="title" value="TextControl options" />
		<property name="items">
			<list>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="TOP" p:labelField.renderColon="false"
					p:instructionalText="With watermark text, and size=&quot;30&quot;"
					p:propertyName="field1">
					<property name="control">
						<bean parent="TextControl" p:size="30" p:watermarkText="Watermark..." />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="TOP" p:labelField.renderColon="false"
					p:instructionalText="Size=&quot;60&quot;" p:propertyName="field79">
					<property name="control">
						<bean parent="TextControl" p:size="60" />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="TOP" p:labelField.renderColon="false"
					p:instructionalText="Text expand option" p:propertyName="field1">
					<property name="control">
						<bean parent="TextControl" p:size="30" p:textExpand="true" />
					</property>
				</bean>
        <bean parent="AttributeField_Form" p:label="Field Label" p:labelPlacement="TOP"
              p:labelField.renderColon="false" p:instructionalText="Disabled" p:propertyName="field1">
          <property name="control">
            <bean parent="TextControl" p:size="30" p:disabled="true"/>
          </property>
        </bean>
			</list>
		</property>
	</bean>

	<bean id="textAreas" parent="Group" p:layoutManager.orientation="HORIZONTAL">
		<property name="accordion.render" value="false" />
		<property name="title" value="TextAreaControl options" />
		<property name="instructionalText"
			value="TextAreas have basically the same options as text controls, so only a couple examples" />
		<property name="items">
			<list>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="TOP"
					p:instructionalText="With watermark, rows=&quot;5&quot;, cols=&quot;40&quot;"
					p:labelField.styleClasses="labelTop" p:labelField.renderColon="false"
					p:propertyName="field1">
					<property name="control">
						<bean parent="TextAreaControl" p:rows="5" p:cols="40"
							p:watermarkText="Watermark..." />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="TOP"
					p:instructionalText="No watermark, textExpand option, rows=&quot;10&quot;, cols=&quot;50&quot;"
					p:labelField.styleClasses="labelTop" p:labelField.renderColon="false"
					p:propertyName="field1">
					<property name="control">
						<bean parent="TextAreaControl" p:rows="10" p:cols="50"
							p:textExpand="true" />
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<bean id="dateFields-Section2" parent="Group"
		p:layoutManager.orientation="HORIZONTAL">
		<property name="title" value="Date Control" />
		<property name="instructionalText"
			value="DateControl configuration options, date control uses the jQuery date picker plugin see its plugin page for more info" />
		<property name="accordion.render" value="false" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<bean parent="AttributeField_Form" id="Test123" abstract="true"
					p:label="Date1" p:labelPlacement="TOP" p:instructionalText="Default DateControl options"
					p:labelField.styleClasses="labelTop" p:labelField.renderColon="false"
					p:propertyName="field1">
					<property name="control">
						<bean parent="DateControl" />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true" p:label="Date2"
					p:labelPlacement="TOP"
					p:instructionalText="Custom options: show on focus, different animation, and show 2 months at once"
					p:labelField.styleClasses="labelTop" p:labelField.renderColon="false"
					p:propertyName="field1">
					<property name="control">
						<bean parent="DateControl">
							<property name="datePicker.componentOptions">
								<map>
									<entry key="showOn" value="both" />
									<entry key="buttonImage"
										value="@{#ConfigProperties['krad.externalizable.images.url']}cal.gif" />
									<entry key="buttonImageOnly" value="true" />
									<entry key="showAnim" value="fadeIn" />
									<entry key="showButtonPanel" value="true" />
									<entry key="changeMonth" value="true" />
									<entry key="changeYear" value="true" />
									<entry key="numberOfMonths" value="2" />
								</map>
							</property>
						</bean>
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<bean id="selectionFields-Section3" parent="Group"
		p:layoutManager.orientation="VERTICAL">
		<property name="title" value="Selection Controls" />
		<property name="instructionalText"
			value="Controls used for selection of 1 or multiple items" />
		<property name="accordion.render" value="false" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<ref bean="checkboxes" />
				<ref bean="radiobuttons" />
				<ref bean="otherSelection" />
			</list>
		</property>
	</bean>

	<bean id="checkboxes" parent="Group" p:layoutManager.orientation="HORIZONTAL">
		<property name="accordion.render" value="false" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<bean parent="AttributeField" p:label="Checkbox"
					p:instructionalText="Single CheckboxControl with defaultValue=&quot;true&quot; so checkbox is checked by default"
					p:defaultValue="true" p:propertyName="bField1">
					<property name="control">
						<bean parent="CheckboxControl" />
					</property>
				</bean>
				<bean parent="AttributeField" p:label="Checkboxes 1"
					p:instructionalText="CheckboxGroupControl using an optionsFinder" p:width="auto"
					p:propertyName="field1">
					<property name="control">
						<bean parent="CheckboxGroupControl" />
					</property>
					<property name="optionsFinder">
						<bean class="edu.sampleu.travel.document.keyvalue.SimpleTestKeyValues" />
					</property>
				</bean>
				<bean parent="AttributeField" p:label="Checkboxes 2"
					p:instructionalText="CheckboxGroupControl using explicitly defined key-value pairs from the DD"
					p:width="auto" p:propertyName="field1">
					<property name="control">
						<bean parent="CheckboxGroupControl">
							<property name="options">
								<list>
									<bean parent="KeyLabelPair" p:key="1" p:value="Option 1" />
									<bean parent="KeyLabelPair" p:key="2" p:value="Option 2" />
									<bean parent="KeyLabelPair" p:key="3" p:value="Option 3" />
								</list>
							</property>
						</bean>
					</property>
				</bean>
 				<bean parent="AttributeField" p:label="Checkboxes 3" p:instructionalText="Disabled CheckboxGroupControl"
					p:width="auto" p:propertyName="field1">
					<property name="control">
						<bean parent="CheckboxGroupControl" p:disabled="true">
							<property name="options">
								<list>
									<bean parent="KeyLabelPair" p:key="1" p:value="Option 1" />
									<bean parent="KeyLabelPair" p:key="2" p:value="Option 2" />
									<bean parent="KeyLabelPair" p:key="3" p:value="Option 3" />
								</list>
							</property>
						</bean>
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<bean id="radiobuttons" parent="Group"
		p:layoutManager.orientation="HORIZONTAL">
		<property name="accordion.render" value="false" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<bean parent="AttributeField" p:label="Radio 1"
					p:instructionalText="RadioGroupControl using an optionsFinder" p:width="auto"
					p:propertyName="field1">
					<property name="control">
						<bean parent="RadioGroupControl" />
					</property>
					<property name="optionsFinder">
						<bean class="edu.sampleu.travel.document.keyvalue.SimpleTestKeyValues" />
					</property>
				</bean>
				<bean parent="AttributeField" p:label="Radio 2"
					p:instructionalText="RadioGroupControl using explicitly defined key-value pairs from the DD"
					p:width="auto" p:propertyName="field1">
					<property name="control">
						<bean parent="RadioGroupControl">
							<property name="options">
								<list>
									<bean parent="KeyLabelPair" p:key="1" p:value="Radio 1" />
									<bean parent="KeyLabelPair" p:key="2" p:value="Radio 2" />
								</list>
							</property>
						</bean>
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<bean id="otherSelection" parent="Group"
		p:layoutManager.orientation="HORIZONTAL">
		<property name="accordion.render" value="false" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<bean parent="AttributeField" p:label="Select Control"
					p:instructionalText="SelectControl using an optionsFinder" p:width="auto"
					p:propertyName="field1">
					<property name="control">
						<bean parent="SelectControl" />
					</property>
					<property name="optionsFinder">
						<bean class="edu.sampleu.travel.document.keyvalue.SimpleTestKeyValues" p:blankOption="true"/>
					</property>
				</bean>
				<bean parent="AttributeField" p:label="Multi Select Control"
					p:instructionalText="SelectControl with multiple=&quot;true&quot;, size=&quot;3&quot;, using explicitly defined key-value pairs from the DD"
					p:width="auto" p:propertyName="field1">
					<property name="control">
						<bean parent="SelectControl" p:multiple="true" p:size="3">
							<property name="options">
								<list>
									<bean parent="KeyLabelPair" p:key="1" p:value="Select 1" />
									<bean parent="KeyLabelPair" p:key="2" p:value="Select 2" />
									<bean parent="KeyLabelPair" p:key="3" p:value="Select 3" />
									<bean parent="KeyLabelPair" p:key="4" p:value="Select 4" />
									<bean parent="KeyLabelPair" p:key="4" p:value="Select 5" />
								</list>
							</property>
						</bean>
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<bean id="fieldGroups-Section4" parent="Group"
		p:layoutManager.orientation="HORIZONTAL">
		<property name="accordion.render" value="false" />
		<property name="title" value="GroupFields" />
		<property name="instructionalText"
			value="GroupFields(ie FieldGroups) can have multiple controls but appear to the user as one logical field grouping.
			 The first grouping has fields with no labels with its group label on top.  The second grouping has labels on the group as well as the fields" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<bean parent="FieldGroup" p:label="Field Group 1">
					<property name="group.layoutManager.orientation" value="VERTICAL" />
					<property name="items">
						<list>
							<bean parent="AttributeField_Form" p:propertyName="field80"
								p:labelField.renderColon="false">
								<property name="control">
									<bean parent="TextControl" p:size="5" />
								</property>
							</bean>
							<bean parent="AttributeField_Form" p:propertyName="field1"
								p:labelField.renderColon="false">
								<property name="control">
									<bean parent="TextControl" p:size="21" />
								</property>
							</bean>
						</list>
					</property>
				</bean>
				<bean parent="FieldGroup" p:label="Field Group 2">
					<property name="group.layoutManager.orientation" value="HORIZONTAL" />
					<property name="items">
						<list>
							<bean parent="AttributeField_Form" p:label="Field 1"
								p:propertyName="field1">
								<property name="control">
									<bean parent="TextControl" p:size="5" />
								</property>
							</bean>
							<bean parent="AttributeField_Form" p:label="Field 2"
								p:propertyName="field1">
								<property name="control">
									<bean parent="TextControl" p:size="21" />
								</property>
							</bean>
						</list>
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<bean id="tabsSection-Section5" parent="TabGroup">
		<property name="title" value="Tabs" />
		<property name="instructionalText"
			value="TabGroup holds a list of groups that can be switched between, titles are based on the groups title property" />
		<property name="items">
			<list>
				<bean parent="textControls3" />
				<bean parent="textAreas" />
			</list>
		</property>
	</bean>

	<bean id="tree-Section6" parent="Group"
		p:layoutManager.orientation="HORIZONTAL">
		<property name="accordion.render" value="false" />
		<property name="title" value="Trees" />
		<property name="instructionalText" value="Trees of data" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<bean parent="TreeGroup">
					<property name="title" value="Basic String Data tree" />
					<property name="propertyName" value="tree1" />
				</bean>
			</list>
		</property>
	</bean>

	<bean id="misc-Section7" parent="Group"
		p:layoutManager.orientation="VERTICAL">
		<property name="accordion.render" value="false" />
		<property name="title" value="Miscellaneous widgets" />
		<property name="instructionalText" value="A variety of other widgets" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<bean parent="AttributeField" p:label="FileControl, Used for file upload"
					p:propertyName="field30">
					<property name="control">
						<bean parent="FileControl" p:size="30" />
					</property>
				</bean>
				<bean parent="GenericTextField" p:label="Masked Field"
					p:propertyName="mField1">
					<property name="attributeSecurity">
						<bean parent="AttributeSecurity">
							<property name="mask" value="true" />
							<property name="maskFormatter">
								<bean parent="MaskFormatterLiteral" p:literal="*********" />
							</property>
						</bean>
					</property>
				</bean>
				<bean parent="GenericTextField" p:label="Partial Masked Field"
					p:instructionalText="maskLength 5" p:propertyName="mField2">
					<property name="attributeSecurity">
						<bean parent="AttributeSecurity">
							<property name="partialMask" value="true" />
							<property name="partialMaskFormatter">
								<bean parent="MaskFormatterSubString" p:maskLength="5" />
							</property>
						</bean>
					</property>
				</bean>
				<bean parent="MessageField"
					p:messageText="MessageField displays text (more options to come)" />
				<bean parent="ImageField" p:label="Image field can show an image with alt text"
					p:altText="pdf image"
					p:source="@{#ConfigProperties['krad.externalizable.images.url']}pdf.png" />
				<bean parent="ActionLinkField"
					p:clientSideJs="alert('You clicked the link');" p:actionLabel="ActionLinkField" />
        <bean parent="ActionLinkField" p:actionLabel="ActionLinkField image right" p:actionImageLocation="RIGHT"
              p:clientSideJs="alert('You clicked a button');">
          <property name="actionImage">
            <bean parent="ImageField" p:source="@{#ConfigProperties['krad.externalizable.images.url']}searchicon.gif" p:altText="Search"/>
          </property>
        </bean>
        <bean parent="ActionLinkField" p:actionLabel="ActionLinkField image left(default)"
              p:clientSideJs="alert('You clicked a button');">
          <property name="actionImage">
            <bean parent="ImageField" p:source="@{#ConfigProperties['krad.externalizable.images.url']}searchicon.gif" p:altText="Search"/>
          </property>
        </bean>
        <bean parent="ActionImageField"
              p:clientSideJs="alert('You clicked a button');">
          <property name="actionImage">
            <bean parent="ImageField" p:source="@{#ConfigProperties['krad.externalizable.images.url']}down.png" p:altText="ActionImageField demonstration"/>
          </property>
        </bean>
				<bean parent="ActionField" p:actionLabel="ActionField"
					p:clientSideJs="alert('You clicked a button');" />
        <bean parent="ActionField" p:actionLabel="Image BOTTOM" p:actionImageLocation="BOTTOM"
              p:clientSideJs="alert('You clicked a button');">
          <property name="actionImage">
            <bean parent="ImageField" p:source="@{#ConfigProperties['krad.externalizable.images.url']}searchicon.gif"/>
          </property>
        </bean>
        <bean parent="ActionField" p:actionLabel="Image TOP" p:actionImageLocation="TOP"
					p:clientSideJs="alert('You clicked a button');" >
          <property name="actionImage">
            <bean parent="ImageField" p:source="@{#ConfigProperties['krad.externalizable.images.url']}searchicon.gif"/>
          </property>
        </bean>
        <bean parent="ActionField" p:actionLabel="Image LEFT" p:actionImageLocation="LEFT"
					p:clientSideJs="alert('You clicked a button');" >
          <property name="actionImage">
            <bean parent="ImageField" p:source="@{#ConfigProperties['krad.externalizable.images.url']}searchicon.gif"/>
          </property>
        </bean>
        <bean parent="ActionField" p:actionLabel="Image RIGHT" p:actionImageLocation="RIGHT"
					p:clientSideJs="alert('You clicked a button');" >
          <property name="actionImage">
            <bean parent="ImageField" p:source="@{#ConfigProperties['krad.externalizable.images.url']}searchicon.gif"/>
          </property>
        </bean>
        <bean parent="ActionField"
					p:clientSideJs="alert('You clicked a button');" >
          <property name="actionImage">
            <bean parent="ImageField" p:source="@{#ConfigProperties['krad.externalizable.images.url']}searchicon.gif"
                    p:altText="Image Only button"/>
          </property>
        </bean>
        <bean parent="ActionField" p:methodToCall="foo" p:actionLabel="Disabled Button" p:disabled="true" />
				<bean parent="LinkField" p:linkLabel="Kuali Website"
					p:hrefText="http://www.kuali.org" p:label="LinkField is used for href links" /><commit_msg>KULRICE-5816: Get context selection working correctly in agenda editor<commit_after><?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
                    http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
	<!-- Copyright 2007-2009 The Kuali Foundation Licensed under the Educational
		Community License, Version 2.0 (the "License"); you may not use this file
		except in compliance with the License. You may obtain a copy of the License
		at http://www.opensource.org/licenses/ecl2.php Unless required by applicable
		law or agreed to in writing, software distributed under the License is distributed
		on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
		express or implied. See the License for the specific language governing permissions
		and limitations under the License. -->

	<bean id="UifComponentsView" parent="FormView">
		<property name="id" value="UifComponentsView" />
		<property name="title" value="Uif Components" />
		<property name="entryPageId" value="uifpage1" />
		<property name="navigation">
			<ref bean="UifComponentsViewMenu" />
		</property>
		<property name="items">
			<list>
				<bean parent="Page" p:id="uifpage1" p:title="UI Components">
					<property name="items">
						<list>
							<bean parent="ActionLinkField_JumpToBottom" p:actionLabel="Jump To Bottom Demo" />
							<bean id="ActionLinkField_JumpToField3" parent="ActionLinkField"
								p:clientSideJs="jumpToElementByName('field80');"
								p:actionLabel="Jump to field with property name Field80 (first field of FieldGroup1)" />
							<bean id="ActionLinkField_FocusOnField79" parent="ActionLinkField"
								p:clientSideJs="focusOnElementByName('field79');"
								p:actionLabel="Focus on field with property name Field79 (size 60 text field)" />
							<bean id="ActionLinkField_FocusOnIdTest123" parent="ActionLinkField"
								p:clientSideJs="focusOnElementById('Test123');" p:actionLabel="Focus on field with id Test123 (Date1 field)" />
							<ref bean="textFields-Section1" />
							<ref bean="dateFields-Section2" />
							<ref bean="selectionFields-Section3" />
							<ref bean="fieldGroups-Section4" />
							<ref bean="tabsSection-Section5" />
							<ref bean="tree-Section6" />
							<ref bean="misc-Section7" />
						</list>
					</property>
				</bean>
				<bean parent="Page" p:id="uifpage2" p:title="Validation"
					p:instructionalText="Take note of the constraintText text underneath field inputs, they describe the validation constraint for that field.  Validation constraints are evaluated by default when a user leaves a field, if the user has not satisfied the requirement, the ui will alert them of their error.  When they return to a field the ui will dynamically remove the error as they correct it and note any additional errors they may have caused.">
					<property name="items">
						<list>
							<ref bean="minMaxSection" />
							<ref bean="requiredSection" />
							<ref bean="preReqSection" />
							<ref bean="mustOccursSection" />
							<ref bean="caseConstraintSection" />
						</list>
					</property>
				</bean>
				<bean parent="Page" p:id="uifpage3"
					p:title="Validation - Regex Patterns, the ValidCharactersConstraint">
					<property name="items">
						<list>
							<ref bean="regex1" />
						</list>
					</property>
				</bean>
				<bean parent="Page" p:id="uifpage4"
					p:title="Progressive Disclosure and Conditional Refresh"
					p:instructionalText="Fields and Groups (ONLY!) can have conditions in which they show themselves on the page or in which they refresh themselves.  Refreshing is defined as requesting an new component from the server (which may or may not be the same element ui wise).">
					<property name="items">
						<list>
							<ref bean="prog1" />
							<ref bean="prog2" />
							<ref bean="prog3" />
						</list>
					</property>
				</bean>
				<bean parent="Page" p:id="uifpage5"
					p:title="Lookups, Inquiry, and SuggestBoxes inline"
					p:instructionalText="Lookups and Inquiries backed by BO searches can be used on fields to fill in their values, as well as SuggestBoxes backed by a query">
					<property name="items">
						<list>
							<ref bean="lookups1" />
						</list>
					</property>
				</bean>
				<bean parent="Page" p:id="uifpage6" p:title="Collections"
					p:instructionalText="Lists of Data Objects">
					<property name="items">
						<list>
							<ref bean="collection1" />
							<ref bean="collection2" />
							<ref bean="collection6" />
							<ref bean="collection3" />
							<ref bean="collection4" />
							<ref bean="collection5" />
						</list>
					</property>
          <property name="header">
            <bean parent="HeaderPage_AccordionEdit"/>
          </property>
				</bean>
				<bean parent="Page" p:id="uifpage7" p:title="Errors"
					p:instructionalText="ErrorsField options examples - same fields are used over and over to demonstrate; server errors, warnings, and information are for demonstration purposes.  NOTE: ANYTHING seen in the following groups can also be applied to the page level as it is also a group.  ErrorsField options are also available on AttributeFields.">
					<property name="items">
						<list>
							<ref bean="errors1" />
							<ref bean="errors2" />
							<ref bean="errors3" />
							<ref bean="errors4" />
						</list>
					</property>
				</bean>
				<bean parent="Page" p:id="uifpage8" p:title="Other Examples"
					p:instructionalText="Other examples for developer reference">
					<property name="items">
						<list>
							<ref bean="remotableFieldsGroup" />
              <ref bean="miscGroup" />
						</list>
					</property>
				</bean>
			</list>
		</property>
    <property name="additionalCssFiles" ref="ks-css"/>
    <property name="viewHelperServiceClassName"
              value="edu.sampleu.travel.krad.controller.UIfComponentsViewHelperServiceImpl"/>
    <property name="formClass" value="edu.sampleu.travel.krad.form.UILayoutTestForm"/>
	</bean>

	<bean id="UifComponentsViewMenu" parent="NavigationGroupMenu">
		<property name="items">
			<list>
				<bean parent="HeaderTwo" p:headerText="Navigation" />
				<bean parent="NavigationActionLinkField" p:navigateToPageId="uifpage1"
					p:actionLabel="UI Components" />
				<bean parent="NavigationActionLinkField" p:navigateToPageId="uifpage2"
					p:actionLabel="Validation" />
				<bean parent="NavigationActionLinkField" p:navigateToPageId="uifpage3"
					p:actionLabel="Validation - Regex" />
				<bean parent="NavigationActionLinkField" p:navigateToPageId="uifpage4"
					p:actionLabel="Progressive Disclosure" />
				<bean parent="NavigationActionLinkField" p:navigateToPageId="uifpage5"
					p:actionLabel="Lookups, etc" />
				<bean parent="NavigationActionLinkField" p:navigateToPageId="uifpage6"
					p:actionLabel="Collections" />
				<bean parent="NavigationActionLinkField" p:navigateToPageId="uifpage7"
					p:actionLabel="Error Layout" />
				<bean parent="NavigationActionLinkField" p:navigateToPageId="uifpage8"
					p:actionLabel="Other Examples" />
			</list>
		</property>
		<property name="componentOptions">
			<map>
				<entry key="animate" value="true" />
				<entry key="slideout" value="true" />
			</map>
		</property>
	</bean>

	<bean id="textFields-Section1" parent="Group"
		p:layoutManager.orientation="VERTICAL">
		<property name="accordion.render" value="false" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<ref bean="textControls1" />
				<ref bean="textControls2" />
				<bean parent="textControls3" />
				<bean parent="textAreas" />
			</list>
		</property>
	</bean>

	<bean id="textControls1" parent="Group"
		p:layoutManager.orientation="HORIZONTAL">
		<property name="title" value="Attribute Field Options" />
		<property name="accordion.render" value="false" />
		<property name="items">
			<list>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="TOP" p:instructionalText="Label top, no colon"
					p:labelField.styleClasses="labelTop" p:labelField.renderColon="false"
					p:propertyName="field1">
					<property name="control">
						<bean parent="TextControl" p:size="30" />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="TOP" p:instructionalText="Label top, with colon"
					p:labelField.styleClasses="labelTop" p:labelField.renderColon="true"
					p:propertyName="field1">
					<property name="control">
						<bean parent="TextControl" p:size="30" />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:instructionalText="Label left, with colon" p:labelField.renderColon="true"
					p:propertyName="field1">
					<property name="control">
						<bean parent="TextControl" p:size="30" />
					</property>
				</bean>

			</list>
		</property>
	</bean>

	<bean id="textControls2" parent="Group"
		p:layoutManager.orientation="HORIZONTAL">
		<property name="accordion.render" value="false" />
		<property name="title" value="Attribute Field Options 2" />
		<property name="items">
			<list>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="RIGHT" p:instructionalText="Label right" p:propertyName="field1">
					<property name="control">
						<bean parent="TextControl" p:size="30" />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="TOP" p:instructionalText="With constraintText text"
					p:constraintText="Constraint text" p:labelField.styleClasses="labelTop"
					p:labelField.renderColon="false" p:propertyName="field1">
					<property name="control">
						<bean parent="TextControl" p:size="30" />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true"
					p:labelPlacement="TOP" p:instructionalText="No label"
					p:labelField.styleClasses="labelTop" p:labelField.renderColon="false"
					p:propertyName="field1">
					<property name="control">
						<bean parent="TextControl" p:size="30" />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true"
					p:propertyName="field1" p:labelField.renderColon="false">
					<property name="control">
						<bean parent="TextControl" p:size="30" />
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<bean id="textControls3" parent="Group"
		p:layoutManager.orientation="HORIZONTAL">
		<property name="accordion.render" value="false" />
		<property name="title" value="TextControl options" />
		<property name="items">
			<list>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="TOP" p:labelField.renderColon="false"
					p:instructionalText="With watermark text, and size=&quot;30&quot;"
					p:propertyName="field1">
					<property name="control">
						<bean parent="TextControl" p:size="30" p:watermarkText="Watermark..." />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="TOP" p:labelField.renderColon="false"
					p:instructionalText="Size=&quot;60&quot;" p:propertyName="field79">
					<property name="control">
						<bean parent="TextControl" p:size="60" />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="TOP" p:labelField.renderColon="false"
					p:instructionalText="Text expand option" p:propertyName="field1">
					<property name="control">
						<bean parent="TextControl" p:size="30" p:textExpand="true" />
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<bean id="textAreas" parent="Group" p:layoutManager.orientation="HORIZONTAL">
		<property name="accordion.render" value="false" />
		<property name="title" value="TextAreaControl options" />
		<property name="instructionalText"
			value="TextAreas have basically the same options as text controls, so only a couple examples" />
		<property name="items">
			<list>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="TOP"
					p:instructionalText="With watermark, rows=&quot;5&quot;, cols=&quot;40&quot;"
					p:labelField.styleClasses="labelTop" p:labelField.renderColon="false"
					p:propertyName="field1">
					<property name="control">
						<bean parent="TextAreaControl" p:rows="5" p:cols="40"
							p:watermarkText="Watermark..." />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true" p:label="Field Label"
					p:labelPlacement="TOP"
					p:instructionalText="No watermark, textExpand option, rows=&quot;10&quot;, cols=&quot;50&quot;"
					p:labelField.styleClasses="labelTop" p:labelField.renderColon="false"
					p:propertyName="field1">
					<property name="control">
						<bean parent="TextAreaControl" p:rows="10" p:cols="50"
							p:textExpand="true" />
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<bean id="dateFields-Section2" parent="Group"
		p:layoutManager.orientation="HORIZONTAL">
		<property name="title" value="Date Control" />
		<property name="instructionalText"
			value="DateControl configuration options, date control uses the jQuery date picker plugin see its plugin page for more info" />
		<property name="accordion.render" value="false" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<bean parent="AttributeField_Form" id="Test123" abstract="true"
					p:label="Date1" p:labelPlacement="TOP" p:instructionalText="Default DateControl options"
					p:labelField.styleClasses="labelTop" p:labelField.renderColon="false"
					p:propertyName="field1">
					<property name="control">
						<bean parent="DateControl" />
					</property>
				</bean>
				<bean parent="AttributeField_Form" abstract="true" p:label="Date2"
					p:labelPlacement="TOP"
					p:instructionalText="Custom options: show on focus, different animation, and show 2 months at once"
					p:labelField.styleClasses="labelTop" p:labelField.renderColon="false"
					p:propertyName="field1">
					<property name="control">
						<bean parent="DateControl">
							<property name="datePicker.componentOptions">
								<map>
									<entry key="showOn" value="both" />
									<entry key="buttonImage"
										value="@{#ConfigProperties['krad.externalizable.images.url']}cal.gif" />
									<entry key="buttonImageOnly" value="true" />
									<entry key="showAnim" value="fadeIn" />
									<entry key="showButtonPanel" value="true" />
									<entry key="changeMonth" value="true" />
									<entry key="changeYear" value="true" />
									<entry key="numberOfMonths" value="2" />
								</map>
							</property>
						</bean>
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<bean id="selectionFields-Section3" parent="Group"
		p:layoutManager.orientation="VERTICAL">
		<property name="title" value="Selection Controls" />
		<property name="instructionalText"
			value="Controls used for selection of 1 or multiple items" />
		<property name="accordion.render" value="false" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<ref bean="checkboxes" />
				<ref bean="radiobuttons" />
				<ref bean="otherSelection" />
			</list>
		</property>
	</bean>

	<bean id="checkboxes" parent="Group" p:layoutManager.orientation="HORIZONTAL">
		<property name="accordion.render" value="false" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<bean parent="AttributeField" p:label="Checkbox"
					p:instructionalText="Single CheckboxControl with defaultValue=&quot;true&quot; so checkbox is checked by default"
					p:defaultValue="true" p:propertyName="bField1">
					<property name="control">
						<bean parent="CheckboxControl" />
					</property>
				</bean>
				<bean parent="AttributeField" p:label="Checkboxes 1"
					p:instructionalText="CheckboxGroupControl using an optionsFinder" p:width="auto"
					p:propertyName="field1">
					<property name="control">
						<bean parent="CheckboxGroupControl" />
					</property>
					<property name="optionsFinder">
						<bean class="edu.sampleu.travel.document.keyvalue.SimpleTestKeyValues" />
					</property>
				</bean>
				<bean parent="AttributeField" p:label="Checkboxes 2"
					p:instructionalText="CheckboxGroupControl using explicitly defined key-value pairs from the DD"
					p:width="auto" p:propertyName="field1">
					<property name="control">
						<bean parent="CheckboxGroupControl">
							<property name="options">
								<list>
									<bean parent="KeyLabelPair" p:key="1" p:value="Option 1" />
									<bean parent="KeyLabelPair" p:key="2" p:value="Option 2" />
									<bean parent="KeyLabelPair" p:key="3" p:value="Option 3" />
								</list>
							</property>
						</bean>
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<bean id="radiobuttons" parent="Group"
		p:layoutManager.orientation="HORIZONTAL">
		<property name="accordion.render" value="false" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<bean parent="AttributeField" p:label="Radio 1"
					p:instructionalText="RadioGroupControl using an optionsFinder" p:width="auto"
					p:propertyName="field1">
					<property name="control">
						<bean parent="RadioGroupControl" />
					</property>
					<property name="optionsFinder">
						<bean class="edu.sampleu.travel.document.keyvalue.SimpleTestKeyValues" />
					</property>
				</bean>
				<bean parent="AttributeField" p:label="Radio 2"
					p:instructionalText="RadioGroupControl using explicitly defined key-value pairs from the DD"
					p:width="auto" p:propertyName="field1">
					<property name="control">
						<bean parent="RadioGroupControl">
							<property name="options">
								<list>
									<bean parent="KeyLabelPair" p:key="1" p:value="Radio 1" />
									<bean parent="KeyLabelPair" p:key="2" p:value="Radio 2" />
								</list>
							</property>
						</bean>
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<bean id="otherSelection" parent="Group"
		p:layoutManager.orientation="HORIZONTAL">
		<property name="accordion.render" value="false" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<bean parent="AttributeField" p:label="Select Control"
					p:instructionalText="SelectControl using an optionsFinder" p:width="auto"
					p:propertyName="field1">
					<property name="control">
						<bean parent="SelectControl" />
					</property>
					<property name="optionsFinder">
						<bean class="edu.sampleu.travel.document.keyvalue.SimpleTestKeyValues" p:blankOption="true"/>
					</property>
				</bean>
				<bean parent="AttributeField" p:label="Multi Select Control"
					p:instructionalText="SelectControl with multiple=&quot;true&quot;, size=&quot;3&quot;, using explicitly defined key-value pairs from the DD"
					p:width="auto" p:propertyName="field1">
					<property name="control">
						<bean parent="SelectControl" p:multiple="true" p:size="3">
							<property name="options">
								<list>
									<bean parent="KeyLabelPair" p:key="1" p:value="Select 1" />
									<bean parent="KeyLabelPair" p:key="2" p:value="Select 2" />
									<bean parent="KeyLabelPair" p:key="3" p:value="Select 3" />
									<bean parent="KeyLabelPair" p:key="4" p:value="Select 4" />
									<bean parent="KeyLabelPair" p:key="4" p:value="Select 5" />
								</list>
							</property>
						</bean>
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<bean id="fieldGroups-Section4" parent="Group"
		p:layoutManager.orientation="HORIZONTAL">
		<property name="accordion.render" value="false" />
		<property name="title" value="GroupFields" />
		<property name="instructionalText"
			value="GroupFields(ie FieldGroups) can have multiple controls but appear to the user as one logical field grouping.
			 The first grouping has fields with no labels with its group label on top.  The second grouping has labels on the group as well as the fields" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<bean parent="FieldGroup" p:label="Field Group 1">
					<property name="group.layoutManager.orientation" value="VERTICAL" />
					<property name="items">
						<list>
							<bean parent="AttributeField_Form" p:propertyName="field80"
								p:labelField.renderColon="false">
								<property name="control">
									<bean parent="TextControl" p:size="5" />
								</property>
							</bean>
							<bean parent="AttributeField_Form" p:propertyName="field1"
								p:labelField.renderColon="false">
								<property name="control">
									<bean parent="TextControl" p:size="21" />
								</property>
							</bean>
						</list>
					</property>
				</bean>
				<bean parent="FieldGroup" p:label="Field Group 2">
					<property name="group.layoutManager.orientation" value="HORIZONTAL" />
					<property name="items">
						<list>
							<bean parent="AttributeField_Form" p:label="Field 1"
								p:propertyName="field1">
								<property name="control">
									<bean parent="TextControl" p:size="5" />
								</property>
							</bean>
							<bean parent="AttributeField_Form" p:label="Field 2"
								p:propertyName="field1">
								<property name="control">
									<bean parent="TextControl" p:size="21" />
								</property>
							</bean>
						</list>
					</property>
				</bean>
			</list>
		</property>
	</bean>

	<bean id="tabsSection-Section5" parent="TabGroup">
		<property name="title" value="Tabs" />
		<property name="instructionalText"
			value="TabGroup holds a list of groups that can be switched between, titles are based on the groups title property" />
		<property name="items">
			<list>
				<bean parent="textControls3" />
				<bean parent="textAreas" />
			</list>
		</property>
	</bean>

	<bean id="tree-Section6" parent="Group"
		p:layoutManager.orientation="HORIZONTAL">
		<property name="accordion.render" value="false" />
		<property name="title" value="Trees" />
		<property name="instructionalText" value="Trees of data" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<bean parent="TreeGroup">
					<property name="title" value="Basic String Data tree" />
					<property name="propertyName" value="tree1" />
				</bean>
			</list>
		</property>
	</bean>

	<bean id="misc-Section7" parent="Group"
		p:layoutManager.orientation="VERTICAL">
		<property name="accordion.render" value="false" />
		<property name="title" value="Miscellaneous widgets" />
		<property name="instructionalText" value="A variety of other widgets" />
		<property name="styleClasses" value="group_header" />
		<property name="items">
			<list>
				<bean parent="AttributeField" p:label="FileControl, Used for file upload"
					p:propertyName="field30">
					<property name="control">
						<bean parent="FileControl" p:size="30" />
					</property>
				</bean>
				<bean parent="GenericTextField" p:label="Masked Field"
					p:propertyName="mField1">
					<property name="attributeSecurity">
						<bean parent="AttributeSecurity">
							<property name="mask" value="true" />
							<property name="maskFormatter">
								<bean parent="MaskFormatterLiteral" p:literal="*********" />
							</property>
						</bean>
					</property>
				</bean>
				<bean parent="GenericTextField" p:label="Partial Masked Field"
					p:instructionalText="maskLength 5" p:propertyName="mField2">
					<property name="attributeSecurity">
						<bean parent="AttributeSecurity">
							<property name="partialMask" value="true" />
							<property name="partialMaskFormatter">
								<bean parent="MaskFormatterSubString" p:maskLength="5" />
							</property>
						</bean>
					</property>
				</bean>
				<bean parent="MessageField"
					p:messageText="MessageField displays text (more options to come)" />
				<bean parent="ImageField" p:label="Image field can show an image with alt text"
					p:altText="pdf image"
					p:source="@{#ConfigProperties['krad.externalizable.images.url']}pdf.png" />
				<bean parent="ActionLinkField"
					p:clientSideJs="alert('You clicked the link');" p:actionLabel="ActionLinkField" />
        <bean parent="ActionLinkField" p:actionLabel="ActionLinkField image right" p:actionImageLocation="RIGHT"
              p:clientSideJs="alert('You clicked a button');">
          <property name="actionImage">
            <bean parent="ImageField" p:source="@{#ConfigProperties['krad.externalizable.images.url']}searchicon.gif" p:altText="Search"/>
          </property>
        </bean>
        <bean parent="ActionLinkField" p:actionLabel="ActionLinkField image left(default)"
              p:clientSideJs="alert('You clicked a button');">
          <property name="actionImage">
            <bean parent="ImageField" p:source="@{#ConfigProperties['krad.externalizable.images.url']}searchicon.gif" p:altText="Search"/>
          </property>
        </bean>
        <bean parent="ActionImageField"
              p:clientSideJs="alert('You clicked a button');">
          <property name="actionImage">
            <bean parent="ImageField" p:source="@{#ConfigProperties['krad.externalizable.images.url']}down.png" p:altText="ActionImageField demonstration"/>
          </property>
        </bean>
				<bean parent="ActionField" p:actionLabel="ActionField"
					p:clientSideJs="alert('You clicked a button');" />
        <bean parent="ActionField" p:actionLabel="Image BOTTOM" p:actionImageLocation="BOTTOM"
              p:clientSideJs="alert('You clicked a button');">
          <property name="actionImage">
            <bean parent="ImageField" p:source="@{#ConfigProperties['krad.externalizable.images.url']}searchicon.gif"/>
          </property>
        </bean>
        <bean parent="ActionField" p:actionLabel="Image TOP" p:actionImageLocation="TOP"
					p:clientSideJs="alert('You clicked a button');" >
          <property name="actionImage">
            <bean parent="ImageField" p:source="@{#ConfigProperties['krad.externalizable.images.url']}searchicon.gif"/>
          </property>
        </bean>
        <bean parent="ActionField" p:actionLabel="Image LEFT" p:actionImageLocation="LEFT"
					p:clientSideJs="alert('You clicked a button');" >
          <property name="actionImage">
            <bean parent="ImageField" p:source="@{#ConfigProperties['krad.externalizable.images.url']}searchicon.gif"/>
          </property>
        </bean>
        <bean parent="ActionField" p:actionLabel="Image RIGHT" p:actionImageLocation="RIGHT"
					p:clientSideJs="alert('You clicked a button');" >
          <property name="actionImage">
            <bean parent="ImageField" p:source="@{#ConfigProperties['krad.externalizable.images.url']}searchicon.gif"/>
          </property>
        </bean>
        <bean parent="ActionField"
					p:clientSideJs="alert('You clicked a button');" >
          <property name="actionImage">
            <bean parent="ImageField" p:source="@{#ConfigProperties['krad.externalizable.images.url']}searchicon.gif"
                    p:altText="Image Only button"/>
          </property>
        </bean>
				<bean parent="LinkField" p:linkLabel="Kuali Website"
					p:hrefText="http://www.kuali.org" p:label="LinkField is used for href links" />
{'fraction_non_alphanumeric': 0.1496937758154109, 'fraction_numerical': 0.007940464321321748, 'mean_word_length': 3.790124509636705, 'pattern_counts': {'":': 0, '<': 1041, '<?xml version=': 2, '>': 1041, 'https://': 0, 'lorem ipsum': 0, 'www.': 14, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3142417', 'n_tokens_mistral': 21286, 'n_tokens_neox': 16667, 'n_words': 3694}