[
https://issues.apache.org/jira/browse/WW-3173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284712#comment-13284712
]
Hudson commented on WW-3173:
----------------------------
Integrated in Struts2 #480 (See [https://builds.apache.org/job/Struts2/480/])
WW-3173 adds additional test case to prove usage of inline map (Revision
1343639)
Result = SUCCESS
lukaszlenart :
Files :
*
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Radio.java
*
/struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/freemarker/FreeMarkerResultTest.java
*
/struts/struts2/trunk/core/src/test/resources/org/apache/struts2/views/freemarker/manual-list.ftl
> 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