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]