struts-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/WW-4387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14105893#comment-14105893
] 

Hudson commented on WW-4387:
----------------------------

FAILURE: Integrated in Struts-JDK6-develop #76 (See [https://builds.apache.org/job/Struts-JDK6-develop/76/])
WW-4387 - using original key type for contains method. (aleksandr.7m: rev 0c63de2fa91a76e989848d66afc40c4e50d18622)
* core/src/main/resources/template/simple/optgroup.ftl
* core/src/test/java/org/apache/struts2/views/jsp/ui/OptGroupTest.java
* core/src/test/resources/org/apache/struts2/views/jsp/ui/OptGroup-7.txt


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

Mime
View raw message