You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Cathy Osekizoglu <hi...@yahoo.ca> on 2002/10/04 20:57:16 UTC
How to set default
I am using <html:options> tag to get a dropdown list. How can I make an item as default so every time I open the page that contains the dropdown list, it will show the default. Thanks.
Cathy
---------------------------------
Post your free ad now! Yahoo! Canada Personals
Re: How to set default
Posted by Michael Lee <ml...@hotmail.com>.
in your <html:select> you will include
<html:option> first. This SINGULAR form of options will be the first one.
The default will be set to what the user chooses after that.
then <html:options...>
</html:select>
----- Original Message -----
From: "Cathy Osekizoglu" <hi...@yahoo.ca>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Friday, October 04, 2002 2:57 PM
Subject: How to set default
>
> I am using <html:options> tag to get a dropdown list. How can I make an
item as default so every time I open the page that contains the dropdown
list, it will show the default. Thanks.
> Cathy
>
>
>
> ---------------------------------
> Post your free ad now! Yahoo! Canada Personals
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>