I'm not getting your question. You'd have
<html:form action="/myAction"> <html:select property="menu1"> -- I assume an OptionsCollection or Options tag follows. I generally don't do it that way... </html:select> <html:select property="menu2"> -- I assume an OptionsCollection or Options tag follows. I generally don't do it that way... </html:select> ...etc It's doesn't look like your lists content is going to be variable, right? Why not just use a properties file? > -----Original Message----- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 22, 2004 11:06 PM > To: [EMAIL PROTECTED] > Subject: How To Create a Form That Contains Two Drop-Down Menu? > > > I know how to create a drop-down menu; for example: > > ArrayList sort = new ArrayList(); > sort.add(new LabelValueBean("Last Post > Date", "thread_last_post_date")); > sort.add(new LabelValueBean("First Post > Date", "thread_creation_date")); > sort.add(new LabelValueBean("Sender > Name", "message_sender")); > sort.add(new LabelValueBean > ("Replies", > "thread_reply_count")); > sort.add(new LabelValueBean > ("Views", "thread_view_count")); > saveResult(Tokens.MENU_SORT,sort,controls); > > ArrayList order = new ArrayList(); > order.add(new LabelValueBean("Descending", "DESC")); > order.add(new LabelValueBean("Ascending", "ASC")); > saveResult(Tokens.MENU_ORDER,order,controls); > > ProcessResult results = new ProcessResultBase > (controls); > results.setAggregate(true); > return results; > > > I also know how to display drop-down lists. > > I have to put those two drop-down menus in a form > (sortForm) so that I can have <html:form > action=......> with a submit button to perform an > action with users' selections. > > How do I create such a form? > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- 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]