[
https://issues.apache.org/jira/browse/WW-4387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14105358#comment-14105358
]
ASF subversion and git services commented on WW-4387:
-----------------------------------------------------
Commit 0c63de2fa91a76e989848d66afc40c4e50d18622 in struts's branch
refs/heads/develop from [~aleksandr-m]
[ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=0c63de2 ]
WW-4387 - using original key type for contains method.
> Preselect multiple options not working in <s:optgroup> when key is not a
> string
> -------------------------------------------------------------------------------
>
> Key: WW-4387
> URL: https://issues.apache.org/jira/browse/WW-4387
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 2.3.16.3
> Reporter: Aleksandr Mashchenko
> Labels: patch
> Fix For: 2.3.18
>
>
> Below code will NOT preselect options in optgroup because type of key is not
> a string.
> {code:xml}
> <s:select name="ids" list="#{1:'AA'}" multiple="true" value="{1, 2, 3}">
> <s:optgroup label="List BB" list="#{2:'BB', 3:'CC'}" />
> </s:select>
> {code}
> Original [SO question.|http://stackoverflow.com/q/25363102/1700321]
--
This message was sent by Atlassian JIRA
(v6.2#6252)