Skip to content

Instantly share code, notes, and snippets.

@r351574nc3
Last active December 21, 2015 12:08
Show Gist options
  • Save r351574nc3/6303595 to your computer and use it in GitHub Desktop.
Save r351574nc3/6303595 to your computer and use it in GitHub Desktop.
Examples for overriding KIM DataDictionary beans
<beans>
...
<bean id="KimBaseBeans-principalName" parent="myInstitutionKimBaseBeans-principalName-parentBean" />
...
</beans>
<beans>
...
<bean id="myInstitutionKimBaseBeans-principalName-parentBean" parent="KimBaseBeans-principalName-parentBean" abstract="true">
<property name="validationPattern" >
<bean parent="RegexValidationPattern" p:pattern="^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$" />
</property>
</bean>
...
</beans>
<config>
...
<param name="rice.kim.additionalSpringFiles">classpath:edu/myinstitution/kuali/rice/kim/config/SpringOverrides.xml</param>
...
</config>
<beans>
...
<bean id="kimModuleConfiguration" parent="myInstitutionKimModuleConfiguration-parentBean"/>
...
</beans>
<beans>
...
<bean id="myInstitutionKimModuleConfiguration-parentBean" parent="kimModuleConfiguration-parentBean" abstract="true">
<property name="dataDictionaryPackages">
<list merge="true">
<value>classpath:edu/myinstitution/kuali/rice/kim/bo/datadictionary/KimBaseBeans.xml</value>
</list>
</property>
</bean>
...
</beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment