Results 1 to 4 of 4

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

  1. #1
    Join Date
    Aug 2005
    Location
    Lexington, KY
    Posts
    36

    Default 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?
    Jamie Bisotti

  2. #2
    Join Date
    Aug 2005
    Location
    Lexington, KY
    Posts
    36

    Default

    Surely someone has some insight on this one?
    Jamie Bisotti

  3. #3
    Join Date
    Aug 2004
    Posts
    2,715

    Default

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

    Regards,
    Andreas

  4. #4
    Join Date
    Aug 2005
    Location
    Lexington, KY
    Posts
    36

    Default

    JIRA issue entered.
    Jamie Bisotti

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •