jQuery in Action, 3rd edition
The moose likes Struts and the fly likes <s:optiontransferselect > items not autoselected on submit. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "<s:optiontransferselect > items not autoselected on submit." Watch "<s:optiontransferselect > items not autoselected on submit." New topic

<s:optiontransferselect > items not autoselected on submit.

prasanthh reddy

Joined: Sep 01, 2008
Posts: 8
Hi All,

my code is as follows

<s:form action="addUser" method="get">

<sptiontransferselect name="user.roles" list="user.roles" listKey="id" listValue="name" doubleName="roleList" doubleList="roleList" doubleListKey="id" doubleListValue="name" allowAddAllToLeft="false" allowAddAllToRight="false" allowAddToLeft="true" allowAddToRight="true" allowSelectAll="false" allowUpDownOnLeft="false" allowUpDownOnRight="false"
buttonCssClass="ButtonSmall" >


<s:submit type="button" value="%{'add'}">


When form submitted items from the list are not autoselected on submit.

How can I get both the lists to my action class Please let me know....

I agree. Here's the link: http://aspose.com/file-tools
subject: <s:optiontransferselect > items not autoselected on submit.
It's not a secret anymore!