
org.kuali.rice.location.web.county.County.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2005-2015 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. --> <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-2.0.xsd"> <bean id="County" parent="County-parentBean"/> <bean id="County-parentBean" abstract="true" parent="BusinessObjectEntry"> <property name="businessObjectClass" value="org.kuali.rice.location.impl.county.CountyBo"/> <property name="inquiryDefinition"> <ref bean="County-inquiryDefinition"/> </property> <property name="lookupDefinition"> <ref bean="County-lookupDefinition"/> </property> <property name="titleAttribute" value="code"/> <property name="objectLabel" value="County"/> <property name="attributes"> <list> <ref bean="County-countryCode"/> <ref bean="County-code"/> <ref bean="County-stateCode"/> <ref bean="County-name"/> <ref bean="County-active"/> </list> </property> </bean> <bean id="County-countryCode" parent="Country-code-parentBean"> <property name="name" value="countryCode"/> </bean> <bean id="County-code" parent="County-code-parentBean"/> <bean id="County-code-parentBean" abstract="true" parent="AttributeDefinition"> <property name="name" value="code"/> <property name="forceUppercase" value="true"/> <property name="label" value="County Code"/> <property name="shortLabel" value="County Code"/> <property name="maxLength" value="10"/> <property name="validationPattern"> <bean parent="AnyCharacterValidationPattern"/> </property> <property name="required" value="true"/> <property name="control"> <bean parent="TextControlDefinition" p:size="10"/> </property> <property name="summary" value="County Abbreviation"/> <property name="description" value="The ten digit code for a County"/> </bean> <bean id="County-stateCode" parent="County-stateCode-parentBean"/> <bean id="County-stateCode-parentBean" abstract="true" parent="State-code"> <property name="name" value="stateCode"/> <property name="label" value="State"/> <property name="shortLabel" value="State"/> <property name="summary" value="State"/> <property name="description" value="Postal State Code"/> </bean> <bean id="County-name" parent="County-name-parentBean"/> <bean id="County-name-parentBean" abstract="true" parent="AttributeDefinition"> <property name="name" value="name"/> <property name="forceUppercase" value="true"/> <property name="label" value="County Name"/> <property name="shortLabel" value="County Name"/> <property name="maxLength" value="100"/> <property name="validationPattern"> <bean parent="AnyCharacterValidationPattern" p:allowWhitespace="true"/> </property> <property name="required" value="true"/> <property name="control"> <bean parent="TextControlDefinition" p:size="25"/> </property> <property name="summary" value="County Name"/> <property name="description" value="The name assigned to this County."/> </bean> <bean id="County-active" parent="County-active-parentBean"/> <bean id="County-active-parentBean" abstract="true" parent="AttributeReferenceDummy-activeIndicator"> <property name="name" value="active"/> </bean> <bean id="County-inquiryDefinition" parent="County-inquiryDefinition-parentBean"/> <bean id="County-inquiryDefinition-parentBean" abstract="true" parent="InquiryDefinition"> <property name="title" value="County Inquiry"/> <property name="inquirySections"> <list> <bean parent="InquirySectionDefinition"> <property name="title" value=""/> <property name="numberOfColumns" value="1"/> <property name="inquiryFields"> <list> <bean parent="FieldDefinition" p:attributeName="countryCode"/> <bean parent="FieldDefinition" p:attributeName="code"/> <bean parent="FieldDefinition" p:attributeName="stateCode"/> <bean parent="FieldDefinition" p:attributeName="name"/> <bean parent="FieldDefinition" p:attributeName="active"/> </list> </property> </bean> </list> </property> </bean> <bean id="County-InquiryView" parent="Uif-InquiryView"> <property name="title" value="County Inquiry"/> <property name="dataObjectClassName" value="org.kuali.rice.location.impl.county.CountyBo"/> <property name="Items"> <list> <bean parent="Uif-Disclosure-GridSection"> <property name="layoutManager.numberOfColumns" value="2"/> <property name="items"> <list> <bean parent="Uif-InputField" p:propertyName="countryCode"/> <bean parent="Uif-InputField" p:propertyName="code"/> <bean parent="Uif-InputField" p:propertyName="stateCode"/> <bean parent="Uif-InputField" p:propertyName="name"/> <bean parent="Uif-InputField" p:propertyName="active"/> </list> </property> <property name="title" value="County Information"/> </bean> </list> </property> </bean> <!-- Business Object Lookup Definition --> <bean id="County-lookupDefinition" parent="County-lookupDefinition-parentBean"/> <bean id="County-lookupDefinition-parentBean" abstract="true" parent="LookupDefinition"> <property name="title" value="County Code Lookup"/> <property name="defaultSort"> <bean parent="SortDefinition"> <property name="attributeNames"> <list> <value>code</value> </list> </property> </bean> </property> <property name="lookupFields"> <list> <bean parent="FieldDefinition" p:attributeName="countryCode"/> <bean parent="FieldDefinition" p:attributeName="code"/> <bean parent="FieldDefinition" p:attributeName="stateCode"/> <bean parent="FieldDefinition" p:attributeName="name"/> <bean parent="FieldDefinition" p:attributeName="active"/> </list> </property> <property name="resultFields"> <list> <bean parent="FieldDefinition" p:attributeName="countryCode"/> <bean parent="FieldDefinition" p:attributeName="code"/> <bean parent="FieldDefinition" p:attributeName="stateCode"/> <bean parent="FieldDefinition" p:attributeName="name"/> <bean parent="FieldDefinition" p:attributeName="active"/> </list> </property> </bean> <bean id="CountyLookupView" parent="Uif-LookupView"> <property name="headerText" value="County Lookup"/> <property name="dataObjectClassName" value="org.kuali.rice.location.impl.county.CountyBo"/> <property name="defaultSortAttributeNames"> <list> <value>code</value> </list> </property> <property name="criteriaFields"> <list> <bean parent="Uif-LookupCriteriaInputField" p:propertyName="countryCode"/> <bean parent="Uif-LookupCriteriaInputField" p:propertyName="code"/> <bean parent="Uif-LookupCriteriaInputField" p:propertyName="stateCode"/> <bean parent="Uif-LookupCriteriaInputField" p:propertyName="name"/> <bean parent="Uif-LookupCriteriaInputField" p:propertyName="active"/> </list> </property> <property name="resultFields"> <list> <bean parent="Uif-DataField" p:propertyName="countryCode"/> <bean parent="Uif-DataField" p:propertyName="code"/> <bean parent="Uif-DataField" p:propertyName="stateCode"/> <bean parent="Uif-DataField" p:propertyName="name"/> <bean parent="Uif-DataField" p:propertyName="active"/> </list> </property> </bean> </beans>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy