Take a look at LookupDispatchAction
-Original Message-
From: pradeep bhargav [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 11:54 PM
To: [EMAIL PROTECTED]
Subject: How to map multiple submit actions for a single form
Hi All,
I'm creating a basic struts application. In my
Lots of ways, but best to read more about them..
1. LookupDispatchAction
2. You can have different forms for each of them quite
easily.
3. Cancel should be an html:cancel and you can check
(preferabbly in a BaseAction) if isCancelled(request).
4. Can have an action that one form points to and
Hi All,
I'm creating a basic struts application. In my application, I'm
showing a list of products available to the user. In this page, I'm
having
4 buttons New, Modify, Delete, Cancel. Now all these are submit buttons
but I'm having a single form. Now, how can I map the submit actions to
Hi Praadep,
Whenever you click on any of the button then you can call some
javascript function. In that funct you can write ..
document.formname.action =abc;
document.formname.submit();
So now your form gets submitted and the logical address given by it is
abc. There must be
4 matches
Mail list logo