What is the error? -----Original Message----- From: Buics [mailto:[EMAIL PROTECTED] Sent: Friday, February 21, 2003 10:08 PM To: Struts Users Mailing List Subject: html select problem, help me please
I have a collection named code1data, in logic:iterate it works fine, but when I apply this to html:select it goes wrong. Anybody could help me in html:select tag. here's my script .. <TABLE><tbody> <logic:iterate id="mydata" collection="<%=code1data %>"> <tr> <td > </td> <td> <bean:write name="mydata" property="cd"/> </td> <td > <bean:write name="mydata" property="descrip"/> </td> </tr> </logic:iterate> </tbody> </TABLE> <html:select property="classification" size="1"> <html:options collection="<%=code1data %>" property="cd" labelProperty="descrip"/> </html:select> -- It's good to be slow and steady; but it's better to be fast and reliable. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]