RE: Question about Struts validator

2006-06-28 Thread mosho
David, Thanks a lot! I understood the whole concept now. It's working perfectly!!! Thanks again! Rosh -- View this message in context: http://www.nabble.com/Question-about-Struts-validator-tf1851247.html#a5089649 Sent from the Struts - User forum at Nabbl

RE: Question about Struts validator

2006-06-28 Thread David Friedman
Rosh, > I want to use struts validator and just control > validation manually. Why do I need saveErrors() > method and what does it do? Isn't the validator > does all that. I am little confused. If you are going to call the validation manually, then you will have to perform the same steps the val

RE: Question about Struts validator

2006-06-28 Thread mosho
or letting me know about making validate false in config file. Thanks. Rosh -- View this message in context: http://www.nabble.com/Question-about-Struts-validator-tf1851247.html#a5087526 Sent from the Struts - User forum at Nabble.com. --

RE: Question about Struts validator

2006-06-27 Thread David Friedman
ActionErrors errors = sform.validate( mapping, request ); } return mapping.findForward("success"); ---JSP file--- . ..... -- View this message in context: http://www.nabble.com/Question-about-Struts-validator-t

Re: Question about Struts validator

2006-06-27 Thread Wendy Smoak
On 6/27/06, mosho <[EMAIL PROTECTED]> wrote: Thanks David and Wendy for your help but it doesn't seem to work. I added manually validate in my execute method. It still validates if I directly enter the url. ... --Struts config part-- You need to set validate="false" in the actio

RE: Question about Struts validator

2006-06-27 Thread mosho
alidate( mapping, request ); } return mapping.findForward("success"); ---JSP file--- . . -- View this message in context: http://www.nabble.com/Question-about-Struts-validator-tf1851247.html#a5074256 Sent from th

RE: Question about Struts validator

2006-06-27 Thread mosho
alidate( mapping, request ); } return mapping.findForward("success"); ---JSP file--- . . -- View this message in context: http://www.nabble.com/Question-about-Struts-validator-tf1851247.html#a5074217 Sent from th

RE: Question about Struts validator

2006-06-27 Thread David Friedman
in the past, I thought I would emphasize the point for you. :) Regards, David -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 27, 2006 4:27 PM To: Struts Users Mailing List Subject: Re: Question about Struts validator On 6/27/06, mosho <[EMAIL PRO

Re: Question about Struts validator

2006-06-27 Thread Wendy Smoak
On 6/27/06, mosho <[EMAIL PROTECTED]> wrote: If I call validate method manually, can I still use validator framework and use the input attribute in the config file to display the errors? I need to validate only if form is submitted by clicking on a button. If, yes can you show me with an exampl

RE: Question about Struts validator

2006-06-27 Thread mosho
validate method in Action class, execute method. Thanks Rosh -- View this message in context: http://www.nabble.com/Question-about-Struts-validator-tf1851247.html#a5073203 Sent from the Struts - User forum at Nabble.com. - To

RE: Question about Struts validator

2006-06-26 Thread David Friedman
onday, June 26, 2006 4:20 PM To: user@struts.apache.org Subject: Question about Struts validator Hi All, I want to validate a form by using struts validator, it is working fine. It validates the form if I click submit button, and it also validates the form if I pass it as a url for example: http:

Question about Struts validator

2006-06-26 Thread mosho
directly entering the url. How can I handle this situation? Thanks for your help! Rosh -- View this message in context: http://www.nabble.com/Question-about-Struts-validator-t1851247.html#a5054174 Sent from the Struts - User forum at Nabble.com