struts-issues mailing list archives

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

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

Hudson commented on WW-3173:
----------------------------

Integrated in Struts2 #485 (See [https://builds.apache.org/job/Struts2/485/])
    WW-3173 adds missing closing tag (Revision 1344620)

     Result = SUCCESS
lukaszlenart : 
Files : 
* /struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Radio.java

                
> 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