[
https://issues.apache.org/struts/browse/WW-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Holmes updated WW-2797:
-----------------------------
Fix Version/s: Future
Can you provide a patch for this change? That would go a long way in getting
this implemented.
> Allow select headerKey to be resolved to non-string objects
> -----------------------------------------------------------
>
> Key: WW-2797
> URL: https://issues.apache.org/struts/browse/WW-2797
> Project: Struts 2
> Issue Type: Improvement
> Components: Plugin - Tags
> Reporter: Scott Lewis
> Fix For: Future
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.