Do the following: <html:select property="termCode" onchange="submitForm(this.form)"> <html:options collection="termList" property="label" labelProperty="label"/> </html:select>
-----Original Message----- From: Shyam A [mailto:[EMAIL PROTECTED] Sent: Monday, July 21, 2003 3: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] This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]