Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?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-2.0.xsd">
<!--

    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.

-->
  <bean id="AttributeReferenceElements" parent="AttributeReferenceElements-parentBean"/>

  <bean id="AttributeReferenceElements-parentBean" abstract="true" parent="BusinessObjectEntry">
    <property name="businessObjectClass" value="org.kuali.rice.krad.bo.AttributeReferenceElements"/>
    <property name="attributes">
      <list>
        <ref bean="AttributeReferenceElements-infoTextArea"/>
        <ref bean="AttributeReferenceElements-extendedTextArea"/>
      </list>
    </property>
    <property name="objectLabel" value="Attribute Reference Elements"/>
  </bean>

<!-- Attribute Definitions -->

  <bean id="AttributeReferenceElements-infoTextArea" parent="AttributeReferenceElements-infoTextArea-parentBean"/>

  <bean id="AttributeReferenceElements-infoTextArea-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="forceUppercase" value="false"/>
    <property name="shortLabel" value="Information Text Area"/>
    <property name="maxLength" value="1000"/>
    <property name="validationPattern">
      <bean parent="AnyCharacterValidationPattern" p:allowWhitespace="true"/>
    </property>
    <property name="control">
      <bean parent="TextareaControlDefinition" p:cols="100" p:rows="10"/>
    </property>
    <property name="summary" value="&amp;nbsp;"/>
    <property name="name" value="infoTextArea"/>
    <property name="label" value="Info Text Area Attribute"/>
    <property name="description" value="This attribute should always be overriden on the descriptive elements."/>
  </bean>

  <bean id="AttributeReferenceElements-extendedTextArea" parent="AttributeReferenceElements-extendedTextArea-parentBean"/>

  <bean id="AttributeReferenceElements-extendedTextArea-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="forceUppercase" value="false"/>
    <property name="shortLabel" value="Extended Text Area"/>
    <property name="maxLength" value="1000"/>
    <property name="validationPattern">
      <bean parent="AnyCharacterValidationPattern" p:allowWhitespace="true"/>
    </property>
    <property name="control">
      <bean parent="TextareaControlDefinition" p:cols="100" p:rows="40"/>
    </property>
    <property name="summary" value="&amp;nbsp;"/>
    <property name="name" value="extendedTextArea"/>
    <property name="label" value="Extended Text Area Attribute"/>
    <property name="description" value="This attribute should always be overriden on the descriptive elements."/>
  </bean>

</beans>
New to GrepCode? Check out our FAQ X