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 (JIRA)" <ji...@apache.org> on 2014/08/21 15:16:12 UTC

[jira] [Resolved] (WW-4387) Preselect multiple options not working in when key is not a string

     [ https://issues.apache.org/jira/browse/WW-4387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart resolved WW-4387.
-------------------------------

    Resolution: Fixed
      Assignee: Lukasz Lenart

PR merged! Thanks!

> 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
>            Assignee: Lukasz Lenart
>              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)