struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cpanon <>
Subject Re: two forms, two submits
Date Tue, 23 Sep 2008 14:47:32 GMT
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.

              <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>
              <td><html:submit property="FilterSubmit" value="Filter Submit" onclick="this.form.submit()"

with this html

              <select name="filter" onchange=""><option value="All Pending">All
                <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 <> wrote:
From: Piero Sartini <>
Subject: Re: two forms, two submits
To: "Struts Users Mailing List" <>
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.


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 []
> 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
> 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
> 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 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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message