[
https://issues.apache.org/jira/browse/WW-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart updated WW-2797:
------------------------------
Fix Version/s: (was: Future)
3.x
> Allow select headerKey to be resolved to non-string objects
> -----------------------------------------------------------
>
> Key: WW-2797
> URL: https://issues.apache.org/jira/browse/WW-2797
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Tags
> Reporter: Scott Lewis
> Fix For: 3.x
>
>
> Currently, it seems that the headerKey value always resolves to a String.
> However, sometimes the list that corresponds to the rest of the select may
> have keys that resolve to other objects, such as Integer. Thus, when passing
> in lists of "selected values", if you use this other object type, such as a
> List<Integer>, the headerKey value cannot be "pre-selected", as the types
> will not match; you'd have to use a more generic List to get it to work.
> It would be nice if you could have headerKey match the type of the other keys
> in the list, or at least be compatible with lists of a certain type.
--
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