Off the top of my head :

<html:option value="">&nbsp;</html:option>

...should do the trick. But why do you want a blank option? If it's for a
divider, I suggest ------ would work better.

-----Original Message-----
From: Charles H. Baker [mailto:[EMAIL PROTECTED]]
Sent: Monday, 3 February 2003 3:12 PM
To: [EMAIL PROTECTED]
Subject: blank html:option elements


How can I create a blank entry in a selection list using the
html:option tag? Everytime I try something like

<html:option value=" "> </html:option>

I get an exception which just so happens to be missing it's Message 
Resource. What am I doing wrong?
-- 
Charles H. Baker
[EMAIL PROTECTED]
http://www.charleshbaker.com/
http://www.charleshbaker.com/~chb/
Darth Vader sleeps with a Teddywookie.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to