struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saman Ghodsian <gsa...@shaw.ca>
Subject Struts-layout
Date Mon, 21 Jul 2003 20:03:28 GMT


Saman Ghodsian
CTO
Middle Earth Technologies Ltd.
www.metca.com
Cell (604)-839-7791
Vancouver, BC
Canada



> -----Original Message-----
> From: Shyam A [mailto:struts_newbie@yahoo.com] 
> Sent: Monday, July 21, 2003 1:04 PM
> To: struts-user@jakarta.apache.org
> Subject: [newbie]: Accessing labelProperty in <html:options>
> 
> 
> Hi,
> 
> I'm using the <html:options> tag to populate a
> drop-down list from a collection.
> 
> My code is as follows:
> 
> <html:select property="termCode"
> onchange="submitForm(this.form)">				
> 	  <html:options
> collection="termList" property="value"
> labelProperty="label"/>
> </html:select>
> 
> The property "termCode" is a string in my ActionForm
> class. I would like to access the selected value in
> the drop-down, i.e, labelProperty in my ActionClass.
> I'm not sure how it is done.
> 
> Any help would be greatly appreciated.
> 
> Thanks,
> Shyam
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
> 
> ---------------------------------------------------------------------
> 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