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


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.

Reply via email to