Saman Ghodsian CTO Middle Earth Technologies Ltd. www.metca.com Cell (604)-839-7791 Vancouver, BC Canada
> -----Original Message----- > From: Shyam A [mailto:[EMAIL PROTECTED] > Sent: Monday, July 21, 2003 1:04 PM > To: [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]