Dynamic Form Submission

2004-08-17 Thread Christopher Kwiatkowski
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

Re: Dynamic Form Submission

2004-08-17 Thread Erik Weber
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

Re: Dynamic Form Submission

2004-08-17 Thread Bill Siggelkow
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

Re: Dynamic Form Submission

2004-08-17 Thread Michael McGrady
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

RE: Dynamic Form Submission

2004-08-17 Thread Marco Mistroni
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

Re: Dynamic Form Submission

2004-08-17 Thread Bill Siggelkow
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"

Re: Dynamic Form Submission

2004-08-17 Thread Bill Siggelkow
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