You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "James Holmes (JIRA)" <ji...@apache.org> on 2007/09/30 19:40:36 UTC

[jira] Updated: (WW-2223) listKey and listValue cannot be left out in a <@s.select> which is part of a freemarker template (contrary to the JSP tag )

     [ https://issues.apache.org/struts/browse/WW-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes updated WW-2223:
-----------------------------

    Fix Version/s: 2.0.12

> listKey and listValue cannot be left out in a <@s.select> which is part of a freemarker template (contrary to the JSP tag <s:select>)
> -------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-2223
>                 URL: https://issues.apache.org/struts/browse/WW-2223
>             Project: Struts 2
>          Issue Type: Bug
>            Reporter: Kris Coolsaet
>             Fix For: 2.0.12
>
>
> If you use a <@s.select ..> as part of a freemarker template to be called by the <s:component ...> tag, using a hashmap
> as the value for the 'list' attribute does not work, unless you also explicitely set 'listKey' equal to 'key' and listValue' to 'value'.
> This is very confusing, as this is not needed in the case of the JSP tag <s:select ...> .

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