[ https://issues.apache.org/struts/browse/WW-1972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Hornbøll Hansen reassigned WW-1972: --------------------------------------- Assignee: Jan Hornbøll Hansen Not a bug (except maybe in documentation) dojo.js not mentioned anywhere in tag reference even though atleast some tags rely on it. > <s:optiontransferselect ... items not autoselected on submit. > ------------------------------------------------------------- > > Key: WW-1972 > URL: https://issues.apache.org/struts/browse/WW-1972 > Project: Struts 2 > Issue Type: Bug > Environment: WindowsXP, Java 1.6, Tomcat v5.5 > Reporter: Jan Hornbøll Hansen > Assignee: Jan Hornbøll Hansen > > 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. - You can reply to this email to add a comment to the issue online.