how funny is that.. why do you want to give the same name to all of your
buttons??
Pazhanikanthan Periasamy <[EMAIL PROTECTED]> wrote: Have a hidden attribute
called method.
Assign this param with the method name u need to call in the
DispatchAction Class based on the Button you have clicked
Again, how lookup dispatch action "works" is explained at
http://www.michaelmcgrady.com/button/. But the options there are simpler,
faster, superior. LookupDispatchAction is a dynosaur.
On 12/21/05, Shiby Maria John <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I tried using the LookupDispatchAction
Hi,
I tried using the LookupDispatchAction for this...
But I am gettng this error..
Can anyone explain how this class works??
java.lang.NullPointerException
org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAction.java:233)
org.apache.struts.action.RequestProcessor.process
cc:
12/21/2005 03:26 Subject: Re: Same action with
multiple submit buttons
PM
2005 02:53 PM|
> > | | Please respond to "Struts |
> > | | Users Mailing List"|
> > | | |
> > |-+-->
> >
> >--|
> >
> |
> |
> > |
| To: "Struts Users Mailing List"
>|
> | cc:
>|
> | Subject: Re: Same action with multiple submit buttons
>|
>
> >---
"
To
"Struts Users Mailing List"
cc
Subject
Re: Same action with multiple submit buttons
But that will require javascript, isnt it??
|-+-->
| | Pazhanikanthan Periasamy |
|
| cc:
|
| Subject: Re: Same action with multiple submit buttons
|
>--|
Have a hidden attribute call
Have a hidden attribute called method.
Assign this param with the method name u need to call in the
DispatchAction Class based on the Button you have clicked and submit the
form.
Thanks and regards,
Pazhanikanthan. P
Project Leader,
Caritor (India) Pvt. Ltd.,
Madras - 600 006
Mob: 9886152717
Ex
9 matches
Mail list logo