struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Caroline Jen <jiapei_...@yahoo.com>
Subject <html:options .... >
Date Wed, 09 Jun 2004 02:30:13 GMT
I try to create a drop down menu as follow:

<html:select size="1" name="sort"
onchange="document.forms[4].elements[2].focus()">
<html:options collection="SORT" property="value"
labelProperty="label"/>
</html:select>

I am able to disply the menu.  

I want one of the options to be selected by default. 
Therefore, I want to type SELECTED somewhere.  How do
I do it?


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mime
View raw message