Given the following Map definition:
I want to add it to another Map I'm injecting as a property; in the same context file:Code:<util:map id="someMap"> ... </util:map>
However, someMap is not recognized as being "local". Is this expected? Or a bug?Code:<property name="settingCommandsMap"> <map> <!-- Does not work. --> <entry key="Some.Map"> <ref local="someMap" /> </entry> <!-- Work fine. --> <entry key="Some.Map"> <ref bean="someMap" /> </entry> </map> </property>


Reply With Quote