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

                 Key: WW-3173
                 URL: https://issues.apache.org/struts/browse/WW-3173
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.1.7
            Reporter: Antti Lankila
            Priority: Minor


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>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to