You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Reopened) (JIRA)" <ji...@apache.org> on 2012/04/10 10:50:14 UTC
[jira] [Reopened] (WW-3728) select tag incorrectly evaluates
property when bean contains 'getParameters()' method
[ https://issues.apache.org/jira/browse/WW-3728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart reopened WW-3728:
-------------------------------
Assignee: Lukasz Lenart
> select tag incorrectly evaluates property when bean contains 'getParameters()' method
> -------------------------------------------------------------------------------------
>
> Key: WW-3728
> URL: https://issues.apache.org/jira/browse/WW-3728
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Tags
> Affects Versions: 2.2.3.1
> Reporter: Pavel Kazlou
> Assignee: Lukasz Lenart
> Fix For: 2.3.3
>
>
> When using select tag:
> {{<s:select list="elements" listKey="myKey" listValue="myValue"/>}}
> if the bean in {{elements}} collection has {{getParameters()}} method, then this method is called to evaluate bean's both {{myKey}} and {{myValue}} properties. Even if bean has them returning non-null values, they are ignored. This results in bean's {{toString()}} method being specified as both key and value.
--
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