struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Mashchenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-4387) Preselect multiple options not working in <s:optgroup> when key is not a string
Date Mon, 18 Aug 2014 16:12:18 GMT

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

Aleksandr Mashchenko updated WW-4387:
-------------------------------------

    Description: 
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}


  was:
Below code will NOT preselect options in optgroup because type of key is not a string.

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



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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message