You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Annie Wang (JIRA)" <ji...@apache.org> on 2007/10/09 00:48:37 UTC

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

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.


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

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted reassigned WW-2236:
------------------------------

    Assignee: Ted Husted

> 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: Plugin - Tags
>    Affects Versions: 2.0.9
>            Reporter: Annie Wang
>            Assignee: Ted Husted
>             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.


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

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted resolved WW-2236.
----------------------------

    Resolution: Fixed

Completed: At revision: 612695  - Thanks, Annie!


> 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: Plugin - Tags
>    Affects Versions: 2.0.9
>            Reporter: Annie Wang
>            Assignee: Ted Husted
>             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.


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

Posted by "Annie Wang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42452 ] 

Annie Wang commented on WW-2236:
--------------------------------

The problem is that the Struts2 doubleselect tag doesn't outputting the MULTIPLE attribute on the second select list when multiple="false" and doubleMultiple="true".  So fix this by adding the following to doubleselect.ftl under the simple theme and it's working:

<#if parameters.doubleMultiple?default(false)>
 multiple="multiple"<#rt/>
</#if>


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


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

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ 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.