You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by carmi_cd <ca...@yahoo.com> on 2008/01/02 03:49:05 UTC

[S2] How to retained pre selected values in Struts form select

i have preselected values in my form select..my problem is when i try to add
to its selected values
by clicking other entries.. it looses the preselected values. how could i
solve this?

here is the code..

     <s:select name="edituser.modules.moduleId"
value="%{edituser.modules.{moduleId}}"
                           list="modules" listKey="moduleId"
listValue="moduleName" 
                           multiple="true" size="7"  />

thanks in advance..,
-- 
View this message in context: http://www.nabble.com/-S2--How-to-retained-pre-selected-values-in-Struts-form-select-tp14572905p14572905.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org