When a user comes to a page the first time I want the word "ALL" selected on a 
multiple drop down list. However say the user then decideds to manually select a bunch 
of options and then submit. If there are validation errors I want it to return to the 
page with the errors displayed but also will now still have the options they selected 
appear in the multiple select list. I currently have the select list set up like:

<html:select styleClass="field" property="rvpId" value="ALL" multiple="true" size="6"> 
  <html:option value="ALL">ALL</html:option>
  <html:options collection="rvpsList" property="id"   
labelProperty="fullNameLastFirst"/>
</html:select>

The problem is I don't want to actually put in the value ALL into the rvpsList 
collection (this list actually can change frequently depending on another option 
selected so I'd have to have a dummy bean with ALL as a value in every list). So I 
can't use "rvpId" for the value or else ALL is not hightlighted on the first time to 
the page. 

Has anyone else had to deal with this? What have you tried as a solution?
Thanks

Rick



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to