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
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