Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<s:optiontransferselect > items not autoselected on submit.

 
prasanthh reddy
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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" >

</sptiontransferselect>

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

</s:submit>
</s:form>

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

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic