html:select deals with populating a form property (a String - typically - for single-select, and array for multi-select); html:options needs a collection placed into some scope which is commonly done in the Action class that forwards to the JSP which needs to display the drop-down box.
-- Voytek Jarnot Quidquid latine dictum sit, altum viditur. > -----Original Message----- > From: Anand M S [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 20, 2003 9:14 AM > To: Struts Users Mailing List > Subject: DyanActionForm and <html:select>, <html:options> tags > > > Hi, > If I use DyanActionForm, how should I populate dropdown box using > <html:options> tag? we would declare all the form attributes in > struts-config.xml, how should I initialize the collection and where? > > Thanks, > Anand > > --------------------------------------------------------------------- > 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]