Similar to the way that a local bean can be referenced from within the same XML file, i.e.
<ref local="XYZ"/>
where bean XYZ has been declared as
<bean id="XYZ"..../>
is there a way to reference other local attributes, i.e. lists.
So if I declare a list,
<list id="test">.... </list>
and then want to set this list as a property in my bean
<bean id="XYZ...>
<property name="listofNames">
<ref local..?
</property>
is there a way that i can reference the list that I declared outside of the bean definition?


Reply With Quote