You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ted Husted (JIRA)" <ji...@apache.org> on 2007/10/29 19:58:40 UTC

[jira] Updated: (WW-2236) doublemultiple doesn't work in doubleselect

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

Ted Husted updated WW-2236:
---------------------------

            Flags: [Patch]  (was: [Important])
    Fix Version/s:     (was: 2.1.3)
                   2.1.1

> doublemultiple doesn't work in doubleselect
> -------------------------------------------
>
>                 Key: WW-2236
>                 URL: https://issues.apache.org/struts/browse/WW-2236
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.0.9
>            Reporter: Annie Wang
>             Fix For: 2.1.1
>
>
> It seems like the doublemultiple attribute set to true without the multiple attribute set to true in doubleselect doesn't work.  
> If I set both multiple and doublemultiple attributes to true, then I'm able to select multiple choices on the second select and as well as the first select but that's not what I want. I want to only allow selecting one from the first select box and be able to select multiple on the second select box.   If I set multiple to false and doublemultiple to true, then I am not able to select more than one on the second select box.  Is this a known bug ?  I have tried searching the Internet for more info but with no luck.
> 'm using the latest struts-2.0.9 and here's my jsp that doesn't allow me to select multiple on second select box:
> <s:doubleselect 
>     label="doubleselect" 
>     name="menu" 
>     list="{'fruit','vegetable'}" 
>     size="2"
>     doubleName="dishes" 
>     doubleList="top == 'fruit' ? {'apple', 'orange', 'banana'} : {'lettuce', 'tomato', 'broccoli'}"  
>     doubleMultiple="true"
>     doubleSize="3"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.