Hi There, U can not use options in iterate tag as options is itself populates array of values(collections).
regards, --- "viji.george" <[EMAIL PROTECTED]> wrote: > > i have used a arraylist to store the objects. > and i have a doubt as to how to use options? > do i use optionCollection?? or options?? > or use simple option nested in the <logic:iterate> > tag ??? > i am unable to find sample code for this particular > problem. > can anybody help??? > thank you. > > Viji George > Information Systems, > The Arvind Mills Ltd., > Naroda, Ahmedabad. > Phone-(079)22203030 > Ext -2352 > [EMAIL PROTECTED] > ----- Original Message ----- > From: "Slattery, Tim - BLS" <[EMAIL PROTECTED]> > To: "'Struts Users Mailing List'" > <[EMAIL PROTECTED]> > Sent: Thursday, September 02, 2004 6:22 PM > Subject: RE: Need help in struts > > > > > i am new to struts, i would like to know to use > <html:select> > > > to dynamically populate data in the combo box, > for the database. > > > > > > The <html:select...> tag generates the <select...> > and </select> tags > > surrounding a select group. To generate the > <option...> tags within it, > use > > the <html:option..>, <html:options...> or > <html:optionsCollection...> tag. > > Documentation is at > http://struts.apache.org/userGuide/struts-html.html > > > > > > > > -- > > Tim Slattery > > [EMAIL PROTECTED] rvind.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] > > ===== <DIV> <P align=left><FONT face="Times New Roman">Buland Altaf Malik,<BR><STRONG>Sr. Software Engineer</STRONG>, <BR>Softech System's(pvt)Ltd. <BR>10/25 asad jan road lahore,cantt - 54810 Pakistan<BR>Tel: 92-42-6665812 , 92-42-6660802</FONT></P> <P align=left><FONT face="Times New Roman">Mob: 0333-4344113<BR>Fax: 92-42-6665792</FONT></P> <P align=left><FONT face="Times New Roman"><A href="http://www.softech.com.pk/">http://www.softech.com.pk</A><BR><A href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A></FONT></P></DIV> _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]