RE: html:select and html:optionsnow i have the page www.husted.com/struts/, please could you guideme where exactly or moreless?
Thanks p.s happy new year ----- Original Message ----- From: Sterin, Ilya To: 'Jose Luis ' ; 'Struts Users Mailing List ' Sent: Friday, January 03, 2003 7:08 PM Subject: RE: html:select and html:options You can use the LabelValueBean class for that, see www.husted.com for examples. Ilya -----Original Message----- From: Jose Luis To: Struts Users Mailing List Sent: 1/3/03 11:04 AM Subject: html:select and html:options hi everyone, i have a page whit the following code: <nested:select property="sector" > <nested:options property="sectorCompany"/> </nested:select> where sectorCompany is an ArrayList that i built prior to view the jsp. My problem is: what i really need is to pass to the result action the value which represents the labels that contains the SectorCompany ArrayList, so, How i can build a select that shows labels but that also stores the id (longs representing registers in a RDBMS) to pass this id? Thank everybody in advance. ps. If someOne knows a subject in the mailing list which already solves this plese redirectme to it. José Luis