I don't know if I understand you right, but if you wan't to get the
option selected before validation, just save it in some form Attribute
of your Struts Form and then use:
html:select property=contacts multiple=true
value=${myForm.lastSelectedThing}
Cheerz
Danny
Chen Jerry schrieb:
Well, I make multiple selection and submit the page, which will be
forwarded to if validation is not passed. I want to keep selected the
multiple options of select when I am back. What can I do?
This is the fragment of source code:
html:select property=contacts multiple=true
ondblclick=javascript:DelContact(); styleClass=selectBox
style=width:100%;height=60px;
html:options collection=contactList property=value labelProperty=label/
/html:select
Thanks in advance.
Jerry
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]