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 Nabble.com.
--
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
I really appreciate all your help.
David,
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.
I am pasting my execute method below, please let me know what should I
example. I recommend you review it again
before you consider my suggestions so you can see how my suggestions mirror
much of what is shown in her examples.
Regards,
David
-Original Message-
From: mosho [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 5:18 PM
To: user@struts.apache.or
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
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.
I am pasting part of my code for you to take a look and let me know where I
am going wrong. Thanks again!
--Struts config part--
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.
I am pasting part of my code for you to take a look and let me know where I
am going wrong. Thanks again!
--Struts config part--
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
Thanks David for your reply.
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 example how to call val
In your execute method, you can manually call the ActionForm's validate()
method. The 'validate="true"' attribute/parameter is there for you
convenience - you do not have to use it.
Regards,
David
-Original Message-
From: mosho [mailto:[EMAIL PROTECTED]
Sent: Monday, June 26, 2006 4:20 P
11 matches
Mail list logo