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 and submit the 
form.

Thanks and regards,
Pazhanikanthan. P
Project Leader,
Caritor (India) Pvt. Ltd.,
Madras - 600 006
Mob: 9886152717
Extn: 40123



"Shiby Maria John" 
12/21/2005 03:02 PM
Please respond to
"Struts Users Mailing List" 


To
"Struts Users Mailing List" 
cc

Subject
Same action with multiple submit buttons







Hi,
Thnaks for the tip reg LookupDispatchAction, but the problem is that I
have the same name for different buttons in the same form.
In that case, how will I know which button submitted that action??




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Thanks!
Have a great day!!
Srini
                
---------------------------------
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping 

Reply via email to