Struts 2
  1. Struts 2
  2. WW-3173

list={ 'foo': 'bar' } unusable with struts-tags such as <@s.radio /> on freemarker results.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Not a Problem
    • Affects Version/s: 2.1.8
    • Fix Version/s: 2.3.3
    • Component/s: None
    • Labels:
      None

      Description

      Trying to render something like this:

      <@s.radio name="x" list=

      {'foo': 'bar'}

      />

      results in stringifications of freemarker.ext.beans.HashAdapter instead of the desired keys and values. Support for converting this to something that the radiomap.ftl could handle properly would be great.

      Manual workaround available with hiding the forcibly generated label and appending another manually:

      <style type="text/css"> .brokenMapBehaviourWorkaround label

      { display: none; }

      </style>
      <div class="brokenMapBehaviourWorkaround"><@s.radio name="x" list=['foo'] /> bar</div>

        Activity

        Antti Lankila created issue -
        Wes Wannemacher made changes -
        Field Original Value New Value
        Affects Version/s 2.1.8 [ 21920 ]
        Affects Version/s 2.1.7 [ 21907 ]
        Jeff Turner made changes -
        Project Import Mon Feb 01 01:17:42 UTC 2010 [ 1264987062082 ]
        Lukasz Lenart made changes -
        Fix Version/s 2.3.x [ 12319176 ]
        Lukasz Lenart made changes -
        Fix Version/s 2.3.3 [ 12320642 ]
        Fix Version/s 2.3.x [ 12319176 ]
        Lukasz Lenart made changes -
        Assignee Lukasz Lenart [ lukaszlenart ]
        Lukasz Lenart made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Not A Problem [ 8 ]
        Lukasz Lenart made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Lukasz Lenart
            Reporter:
            Antti Lankila
          • Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development