struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-3173) list={ 'foo': 'bar' } unusable with struts-tags such as <@s.radio /> on freemarker results.
Date Mon, 21 May 2012 19:41:41 GMT

    [ https://issues.apache.org/jira/browse/WW-3173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280410#comment-13280410
] 

Lukasz Lenart commented on WW-3173:
-----------------------------------

Or please register a new issue for that.
                
> list={ 'foo': 'bar' } unusable with struts-tags such as <@s.radio /> on freemarker
results.
> -------------------------------------------------------------------------------------------
>
>                 Key: WW-3173
>                 URL: https://issues.apache.org/jira/browse/WW-3173
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.8
>            Reporter: Antti Lankila
>            Assignee: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.3.3
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message