Thanks, it looks so trivial now.
-----Original Message-----
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 3:02 PM
To: Struts Users Mailing List
Subject: RE: html:options
<html:select property="type">
<html:option value=""/>
<html:options collection="serverTypes" property="value"
labelProperty="label"/>
</html:select>
JM
> -----Original Message-----
> From: Jayaraman Dorai [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 2:52 PM
> To: [EMAIL PROTECTED]
> Subject: html:options
>
>
> Hi,
>
> I want in my drop down a blank record. This needs to be the
> default. This provides the user an option to not select anything(
> It is a null field).
>
> Is it possible to do this other than putting an empty string in
> the collection. How to set this blank string as the default(not
> affecting the user's selected value in the edit mode)?
>
> I hope I am clear.
>
> Jayaraman
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>