struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
Subject RE: Add blank option to select
Date Mon, 03 Mar 2003 22:22:10 GMT
> What I need is to add a blank option to the select that is not present in
> 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"

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

Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message