Hello I was able to configure it to keep both separate. However now the error is when I submit on a very simple form with the code below it states:
No getter method available for property value for bean under name dropDown dropDown is just a collection of LabelValueBean. I just expected on submit for the option value to be the value of the filter and be delivered filter/value to the action. Do I need to create dropDown as a two member object with a value member and an array of LabelValueBean? Thanks to all who responded/viewed. struts <table> <tr> <td> <html:select property="filter" onchange=""> <option value="All Pending">All Pending</option> <html:options collection="dropDown" property="value" labelProperty="label" /> <option value="All">All</option> </html:select> <td><html:submit property="FilterSubmit" value="Filter Submit" onclick="this.form.submit()" /></td> <td></td> </tr> </table> with this html <table> <tr> <td> <select name="filter" onchange=""><option value="All Pending">All Pending</option> <option value="0">Option One</option> <option value="1">Option Two</option> <option value="All">All</option></select> --- On Mon, 9/22/08, Piero Sartini <[EMAIL PROTECTED]> wrote: From: Piero Sartini <[EMAIL PROTECTED]> Subject: Re: two forms, two submits To: "Struts Users Mailing List" <user@struts.apache.org> Date: Monday, September 22, 2008, 4:26 PM He mentioned html:submit - I guess we are talking about Struts 1, so there are no themes involved. Piero On Monday 22 September 2008 22:14:50 Kawczynski, David wrote: > FYI, a theme can be specified in a <s:form> tag or any of its <s:> form > elements via "theme=simple|xhtml|ajax" attribute. If you didn't specify > one it's using the xhtml theme. > > Do your forms submit to the same event handler? It would be helpful if we > could see the struts.xml and the web pages that house the forms. > > > -----Original Message----- > From: cpanon [mailto:[EMAIL PROTECTED] > Sent: Monday, September 22, 2008 3:57 PM > To: Struts Users Mailing List > Subject: Re: two forms, two submits > > Hi Pascal > I dont understand the use of the word "theme". This is a very simplistic > jsp that has two forms, each with a different action and a html:submit > button that does not work for one of the two forms. I hope I am clearer. > It is almost too simple to further describe. tia. Notice: This e-mail > message, together with any attachments, contains information of Merck & > Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), > and/or its affiliates (which may be known > outside the United States as Merck Frosst, Merck Sharp & Dohme or > MSD and in Japan, as Banyu - direct contact information for affiliates is > available at http://www.merck.com/contact/contacts.html) that may be > confidential, proprietary copyrighted and/or legally privileged. It is > intended solely for the use of the individual or entity named on this > message. If you are not the intended recipient, and have received this > message in error, please notify us immediately by reply e-mail and > then delete it from your system. > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]