struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Durham David Contr 805 CSS/SCBE" <David.Durh...@scott.af.mil>
Subject RE: html:select and ArrayList
Date Mon, 12 May 2003 13:37:28 GMT
yeah, look at <html:options/> tag

> -----Original Message-----
> From: krzysiek@zt.zamosc.tpsa.pl [mailto:krzysiek@zt.zamosc.tpsa.pl]
> Sent: Monday, May 12, 2003 8:12 AM
> To: struts-user@jakarta.apache.org
> Subject: html:select and ArrayList
> 
> 
> Hi,
> 
> Is it possible to populate html:select tag with different 
> labels and values
> using ArrayList?
> For example: <select name="aaa">
>                             <option value ="a">A</option>
>                            <option value ="b">B</option>
>                            <option value ="c">C</option>
>                     </select>
> and ArrayList is like this {"a","b","c"}{"A","B","C"}
> 
> Thanks in advance.
> Chris
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
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