Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!--

    Copyright 2005-2013 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="KimBaseBeans-id" parent="KimBaseBeans-id-parentBean" />
  <bean id="KimBaseBeans-id-parentBean" parent="AttributeDefinition" abstract="true"
        p:forceUppercase="true"
        p:label="ID"
        p:shortLabel="ID"
        p:maxLength="40"
        p:required="true" >
    <property name="validationPattern" >
      <bean parent="AlphaNumericValidationPattern" />
    </property>
    <property name="control" >
      <bean parent="TextControlDefinition" p:size="15" />
    </property>
    <property name="controlField" >
      <bean parent="Uif-TextControl" p:size="15" />
    </property>
  </bean>

  <bean id="KimBaseBeans-entityId" parent="KimBaseBeans-entityId-parentBean" />
  <bean id="KimBaseBeans-entityId-parentBean" parent="KimBaseBeans-id" abstract="true"
        p:name="entityId"
        p:label="Entity ID"
        p:shortLabel="Entity ID" />
        
  <bean id="KimBaseBeans-principalId" parent="KimBaseBeans-principalId-parentBean" />
  <bean id="KimBaseBeans-principalId-parentBean" parent="KimBaseBeans-id" abstract="true"
        p:name="principalId"
        p:label="Principal ID"
        p:shortLabel="Principal ID"
        p:forceUppercase="false"/>
        
  <bean id="KimBaseBeans-principalName" parent="KimBaseBeans-principalName-parentBean" />
  <bean id="KimBaseBeans-principalName-parentBean" parent="AttributeDefinition" abstract="true"
        p:name="principalName"
        p:forceUppercase="false"
        p:label="Principal Name"
        p:shortLabel="Principal Name"
        p:maxLength="40"
        p:required="true" >
    <property name="validationPattern" >
      <bean parent="AlphaNumericValidationPattern" p:lowerCase="true" />
    </property>
    <property name="control" >
      <bean parent="TextControlDefinition" p:size="10" />
    </property>
    <property name="controlField" >
      <bean parent="Uif-TextControl" p:size="10" />
    </property>
  </bean>
  
        
</beans>
New to GrepCode? Check out our FAQ X