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

Don Brown updated WW-2253:
--------------------------

    Fix Version/s:     (was: 2.1.4)
                   2.1.3

> Multiple 'optiontransferselect' components in one page work in a strange way.
> -----------------------------------------------------------------------------
>
>                 Key: WW-2253
>                 URL: https://issues.apache.org/struts/browse/WW-2253
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tags
>    Affects Versions: 2.0.8
>         Environment: win xp pro. 2002 sp2, jre1.6.0
>            Reporter: Chushu Gao
>             Fix For: 2.1.3
>
>
> Put three optiontransferselect within one page as showed in snippet one, it 
> works fine for the first component. The other two are dumb which no button of 
> the component works. 
> Tried changing the order of components, always the first one works but the 
> left.
> When I add  attribute 'id' to each components by chance, as snippet two 
> shows. All the components work fine.
> <--------snippet one------------>
> <s:form action="Mediator/update" theme="ajax">
> <s:optiontransferselect 
>       doubleList="respMeds" 
>       list="availableRespMeds" 
>       doubleName="respMeds"
>       >
> </s:optiontransferselect>     
>        <br/>   
> <s:optiontransferselect 
>       doubleList="faultMeds" 
>       list="availableFaultMeds" 
>       doubleName="faultMeds"
>       >
> </s:optiontransferselect>
> <br/> 
> <s:optiontransferselect 
>       doubleList="reqMeds" 
>       list="availableReqMeds" 
>       doubleName="reqMeds"
>       >
> </s:optiontransferselect>     
> <-------------snippet two--------------->
> <s:form action="Mediator/update" theme="ajax">
> <s:optiontransferselect 
>       id="resp"
>       doubleList="respMeds" 
>       list="availableRespMeds" 
>       doubleName="respMeds"
>       >
> </s:optiontransferselect>     
>        <br/>   
> <s:optiontransferselect 
>       id="fault"
>       doubleList="faultMeds" 
>       list="availableFaultMeds" 
>       doubleName="faultMeds"
>       >
> </s:optiontransferselect>
> <br/> 
> <s:optiontransferselect 
>       id="req"
>       doubleList="reqMeds" 
>       list="availableReqMeds" 
>       doubleName="reqMeds"
>       >
> </s:optiontransferselect>     

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