Re: SV: SV: Validation only on SUBMIT but not on BACK

2004-05-20 Thread Gunnar Schmitz
dnbnor.no> writes: > > Hi > > 1. implement the validation method on your ActionForm > 2. Check if a particular button was pressed (give your button a name via > the "property" property). Use request.getParameter("the name of the > button"). > 3. If they do not match, call super.validate() > >

RE: Validation only on SUBMIT but not on BACK

2004-05-20 Thread Towers, Stuart G
ce of this attribute. Stuart. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 5:34 AM To: [EMAIL PROTECTED] Subject: SV: Validation only on SUBMIT but not on BACK Hi In the javascript validation routine there is a parameter : bCancel &l

SV: SV: Validation only on SUBMIT but not on BACK

2004-05-19 Thread hermod . opstvedt
-Opprinnelig melding- Fra: Gunnar Schmitz [mailto:[EMAIL PROTECTED] Sendt: 19. mai 2004 14:49 Til: [EMAIL PROTECTED] Emne: Re: SV: Validation only on SUBMIT but not on BACK dnbnor.no> writes: > > Hi > In the javascript validation routine there is a parameter : bCancel >

Re: SV: Validation only on SUBMIT but not on BACK

2004-05-19 Thread Gunnar Schmitz
dnbnor.no> writes: > > Hi > In the javascript validation routine there is a parameter : bCancel > <<<-Set this to false if you do not want client side validation > as in : > > > > Hermod > Hello Hermod, I am sorry if my description was unclear. My problem is on the server side. I wa

SV: Validation only on SUBMIT but not on BACK

2004-05-19 Thread hermod . opstvedt
TED] Emne: Validation only on SUBMIT but not on BACK Hello, I am using Struts 1.1 on Tomcat 4.1.24. I have a question regarding validation. I have a form and validation rules that apply to this form. In my JSP, I have three buttons, namely CANCEL, SUBMIT, BACK (BACK meaning: I will come back l

Validation only on SUBMIT but not on BACK

2004-05-19 Thread Gunnar Schmitz
Hello, I am using Struts 1.1 on Tomcat 4.1.24. I have a question regarding validation. I have a form and validation rules that apply to this form. In my JSP, I have three buttons, namely CANCEL, SUBMIT, BACK (BACK meaning: I will come back later). My problem now is: I want to validate the field