I want to create a form that has two different actions. The user will have
a button to READ information in from the database and a button to SAVE
information into the database after modification. I currently use Validator
to validate my forms and when the user clicks on the READ button then
You can use the same Action and the same ActionForm, but you can map two
different action mappings in struts-config.xml. Set validation to "true"
on one and "false" on the other.
Hope that helps,
Erik
Christopher Kwiatkowski wrote:
I want to create a form that has two different actions. The use
First, I assume that you are using path mappings for Validator.
You can use two separate forms as you suggested; however, if you don't
want to duplicate form fields and it makes more sense from a usability
perspective to have a single form--you can change the action for the
form on the fly using
Christopher Kwiatkowski wrote:
I want to create a form that has two different actions. The user will have
a button to “READ” information in from the database and a button to “SAVE”
information into the database after modification. I currently use Validator
to validate my forms and when the user c
s
marco
-Original Message-
From: Christopher Kwiatkowski [mailto:[EMAIL PROTECTED]
Sent: 17 August 2004 15:38
To: [EMAIL PROTECTED]
Subject: Dynamic Form Submission
I want to create a form that has two different actions. The user will
have
a button to "READ" information in from the
pe this helps
Regards
marco
-Original Message-
From: Christopher Kwiatkowski [mailto:[EMAIL PROTECTED]
Sent: 17 August 2004 15:38
To: [EMAIL PROTECTED]
Subject: Dynamic Form Submission
I want to create a form that has two different actions. The user will
have
a button to "READ"
Oops -- I missformatted my last e-mail -- I wrote the part starting with
"Ahh ..." not Marco. Marco wrote the stuff that followed about using
DispatchAction. My bad ...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
7 matches
Mail list logo