You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Eric Schneider <er...@centralparksoftware.com> on 2004/06/28 04:47:38 UTC
multiple submit buttons/one form
Hi,
What is best approach using Struts for a forms that have multiple
submit buttons. Is it possible to bind actions to submit buttons
instead of forms? Ideally, I'd like each submit button to execute
different actions.
Looking at the docs, a solution hasn't jumped out at me. This is
something that must be common, no?
Thanks,
Eric
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: multiple submit buttons/one form
Posted by Michael McGrady <mi...@michaelmcgrady.com>.
Try:
http://wiki.apache.org/struts/StrutsCatalogMultipleImageButtonsWithNoJavaScript
At 03:19 AM 6/28/2004, Axel Groß wrote:
>just don't forget to keep the messages unique per form
>had once delete property and delete main entries in one form, so the message
>shouldn't be 'delete' for both of them...
>
>ciao,
>Axel
>
>On 2004-06-28 at 14:56:32 +1200, Martin.Rademacher@prg.co.nz wrote:
> > There is a nice solution described here
> >
> > http://husted.com/struts/tips/003.html
> >
> > using the LookupDispatchAction action.
> >
> > Cheers, Martin
> >
> >
> >
> > Eric Schneider <er...@centralparksoftware.com>
> > 28/06/2004 14:47
> > Please respond to
> > "Struts Users Mailing List" <us...@struts.apache.org>
> >
> >
> > To
> > "Struts Users Mailing List" <us...@struts.apache.org>
> > cc
> >
> > Subject
> > multiple submit buttons/one form
> >
> >
> >
> >
> >
> >
> > Hi,
> >
> > What is best approach using Struts for a forms that have multiple
> > submit buttons. Is it possible to bind actions to submit buttons
> > instead of forms? Ideally, I'd like each submit button to execute
> > different actions.
> >
> > Looking at the docs, a solution hasn't jumped out at me. This is
> > something that must be common, no?
> >
> > Thanks,
> > Eric
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: multiple submit buttons/one form
Posted by Axel Groß <ka...@iaeste.at>.
just don't forget to keep the messages unique per form
had once delete property and delete main entries in one form, so the message
shouldn't be 'delete' for both of them...
ciao,
Axel
On 2004-06-28 at 14:56:32 +1200, Martin.Rademacher@prg.co.nz wrote:
> There is a nice solution described here
>
> http://husted.com/struts/tips/003.html
>
> using the LookupDispatchAction action.
>
> Cheers, Martin
>
>
>
> Eric Schneider <er...@centralparksoftware.com>
> 28/06/2004 14:47
> Please respond to
> "Struts Users Mailing List" <us...@struts.apache.org>
>
>
> To
> "Struts Users Mailing List" <us...@struts.apache.org>
> cc
>
> Subject
> multiple submit buttons/one form
>
>
>
>
>
>
> Hi,
>
> What is best approach using Struts for a forms that have multiple
> submit buttons. Is it possible to bind actions to submit buttons
> instead of forms? Ideally, I'd like each submit button to execute
> different actions.
>
> Looking at the docs, a solution hasn't jumped out at me. This is
> something that must be common, no?
>
> Thanks,
> Eric
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: multiple submit buttons/one form
Posted by Ma...@prg.co.nz.
There is a nice solution described here
http://husted.com/struts/tips/003.html
using the LookupDispatchAction action.
Cheers, Martin
Eric Schneider <er...@centralparksoftware.com>
28/06/2004 14:47
Please respond to
"Struts Users Mailing List" <us...@struts.apache.org>
To
"Struts Users Mailing List" <us...@struts.apache.org>
cc
Subject
multiple submit buttons/one form
Hi,
What is best approach using Struts for a forms that have multiple
submit buttons. Is it possible to bind actions to submit buttons
instead of forms? Ideally, I'd like each submit button to execute
different actions.
Looking at the docs, a solution hasn't jumped out at me. This is
something that must be common, no?
Thanks,
Eric
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org