struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chen Jerry <tech.jerry.c...@gmail.com>
Subject How can I keep multiple selection of html:options when I am back
Date Tue, 15 Nov 2005 04:19:40 GMT
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 <option>s 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message