You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2008/11/19 16:57:37 UTC

[jira] Resolved: (WW-2253) Multiple 'optiontransferselect' components in one page work in a strange way.

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

Musachy Barroso resolved WW-2253.
---------------------------------

    Resolution: Duplicate

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