Hi All,
I have the following code in my JSP
<jsp:useBean id="dataTypes" scope="request" class="java.util.ArrayList"/>
<html:select property="dataType">
<html:options collection="dataTypes" property="value"
labelProperty="label"/>
</html:select>
I need to preselect one of the OPTIONS in the SELECT list.
The thing is, I can't set the values in the corresponding ActionForm object,
since this form submits to itself and the Select Boxes have to be
repopulated from the database
Is there any way to add "Selected" to the html:options tag?
Thanks
John
John Mattos
Sr. Developer and Architect
iNDEMAND
345 Hudson St. 16th Floor
New York, New York
10014
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>