Wow!  That may be the sexiest message I have ever seen in 3 years of struts
users-list!  You go, girl!

-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 03, 2003 5:22 PM
To: 'Struts Users Mailing List'
Subject: RE: Add blank option to select


> What I need is to add a blank option to the select that is not present 
> in
my
> data.  Since my List implementation is just an adaptor, and not a new 
> data structure, I cannot just add another member.

This is what I do for Struts 1.1 with the EL tags, but maybe it will work or
can be adapted:

 <html-el:select property="state">
          <html-el:option value="">Any State</html-el:option>
          <html-el:options collection="states" property="key"
labelProperty="value"/>  </html-el:select> 

Can you use both an 'option' and an 'options' tag with 1.0?



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

Reply via email to