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
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
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.
--
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
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
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
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
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
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
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
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:
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
12 matches
Mail list logo