insert line <html:option value" "></html:option>
like this:
<html:select property="stateCode">
<html:option value" "></html:option>
<html:options collection="states_codes" property="name"
labelProperty="value"/>
</html:select>
Actually <html:option value" "/> should do
-----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]>