[ 
https://issues.apache.org/jira/browse/WW-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163455#comment-13163455
 ] 

Lukasz Lenart commented on WW-1972:
-----------------------------------

Dojo plugin is deprecated and will be removed from the next major release
                
> <s:optiontransferselect ... items not autoselected on submit.
> -------------------------------------------------------------
>
>                 Key: WW-1972
>                 URL: https://issues.apache.org/jira/browse/WW-1972
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>         Environment: WindowsXP, Java 1.6, Tomcat v5.5
>            Reporter: Jan Hornbøll Hansen
>            Assignee: Jan Hornbøll Hansen
>             Fix For: 3.x
>
>
> Have form like:
> <s:form action="addUser" method="get">
>       <s:textfield name="user.username"><s:param name="label"><fmt:message 
> key="user.label.username"/></s:param></s:textfield>
>       <s:password name="user.password"><s:param name="label"><fmt:message 
> key="user.label.password"/></s:param></s:password>
>       <s:optiontransferselect name="user.roles" list="user.roles" 
> listKey="id" listValue="name" doubleName="roleList" doubleList="roleList" 
> doubleListKey="id" doubleListValue="name">
>       </s:optiontransferselect>
>       <s:submit type="button" value="%{'add'}">
>               <s:param name="label"><fmt:message 
> key="global.label.add"/></s:param>
>       </s:submit>
> </s:form>
> AddUserAction implements ParameterAware. When form submitted only parameters 
> received are user.username & user.password. Tag reference for 
> <s:optiontransferselect> states that all values in both lists are supposed to 
> be selected before submit (so they'd also be added as parameters).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to