Announcement Announcement Module
Collapse
No announcement yet.
Problem getting <util:map> beans recognized as "local" Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem getting <util:map> beans recognized as "local"

    Given the following Map definition:
    Code:
        <util:map id="someMap">
            ...
        </util:map>
    I want to add it to another Map I'm injecting as a property; in the same context file:
    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>
    However, someMap is not recognized as being "local". Is this expected? Or a bug?

  • #2
    Surely someone has some insight on this one?

    Comment


    • #3
      Seems like a bug to me. Maybe you should report this on Jira (if not already reported yet).

      Regards,
      Andreas

      Comment


      • #4
        JIRA issue entered.

        Comment

        Working...
        X