struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bredesen, Chris - NA US HQ Delray" <cbrede...@mytravelco.com>
Subject RE: Add blank option to select
Date Mon, 03 Mar 2003 22:13:26 GMT
Because I'm a big moron and like to overcomplicate things!  I better get
back home, my village is missing its idiot.

Thanks a million ....

> -----Original Message-----
> From: David Graham [mailto:dgraham1980@hotmail.com]
> Sent: Monday, March 03, 2003 4:57 PM
> To: struts-user@jakarta.apache.org
> Subject: Re: Add blank option to select
> 
> 
> Why can't you just put this at the beginning of your select 
> box <option 
> value=""></option>?
> 
> David
> 
> 
> 
> >From: "Bredesen, Chris - NA US HQ Delray" <cbredesen@mytravelco.com>
> >Reply-To: "Struts Users Mailing List" 
> <struts-user@jakarta.apache.org>
> >To: "Struts Users Mailing List (E-mail)" 
> <struts-user@jakarta.apache.org>
> >Subject: Add blank option to select
> >Date: Mon, 3 Mar 2003 16:50:59 -0500
> >
> >Hi All,
> >
> >I have a proprietary table object which I expose to 
> html:options via an
> >adaptor class that extends AbstractList.  The List 
> implementation gives
> >collection-like random access to my proprietary object which 
> is then used 
> >to
> >build a select box.
> >
> >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.  I tried doing 
> a Union in my
> >SQL query to tack on a blank record but the crap DB API 
> won't have it.
> >
> >Any way to do with Struts 1.0.2?  I guess extending the 
> OptionsTag (haven't
> >worked this one out in my head yet but I assume it would be fairly
> >straightforward) is the way to go, but if anyone has another 
> way, I'm all
> >ears.
> >
> >Thanks,
> >
> >Chris
> >
> >________________________
> >Chris Bredesen
> >Software Architect
> >MyTravel USA
> >part of MyTravel group
> >(561) 266-6154
> >chris.bredesen@mytravel.com
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message