I have two select box. Suppose the initial values of the select boxes are as
follow  :-

<s:select name = "select1" list="#{'Mandatory':'Mandatory',
'Optional':'Optional', 'Critical':'Critical'}" size="3"/>

<s:select name = "select2" list="#{'Mandatory':'Mandatory'}" size="3"/>

There will be two button "Add" and "Remove". So when user select  one
element of "select1" and click "Add" button, the element should migrate to
the "select2" box.
And the "remove" button will do the opposite.

Can anyone please tell me how to do that in struts2 or how to write the
javascript for that.

-- 
Thanks & Regards
Arpan Debroy

Reply via email to