You write:
Can someone explain me this? Both form extend ActionForm and both actions
extend a common action.
Vinicius, I think you need to refer to my previous email: ActionForm does not
validate. You need to extend from ValidatorActionForm or ValidatorForm. The
first valdiates based on
Hum, how could the one of them being validated them? If both extend
ActionForm? I gave up from validation plugin, I'm writing my own
validate method, isn't validate called even from ActionForm
subclasses?
Regards
On 7/4/06, Paul Benedict [EMAIL PROTECTED] wrote:
You write:
Can someone explain
shed some light on this?
Regards,
David
-Original Message-
From: Vinicius Carvalho [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 04, 2006 12:34 PM
To: Struts Users Mailing List
Subject: Re: Validation problems: again...
Hum, how could the one of them being validated them? If both extend
Users Mailing List
Subject: Re: Validation problems: again...
Hum, how could the one of them being validated them? If both extend
ActionForm? I gave up from validation plugin, I'm writing my own
validate method, isn't validate called even from ActionForm
subclasses?
Regards
On 7/4/06, Paul Benedict
-Original Message-
From: Vinicius Carvalho [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 04, 2006 1:06 PM
To: Struts Users Mailing List
Subject: Re: Validation problems: again...
yes both of em, I've post a pice of the config file ;)
yes either, both has validate(ActionMapping arg0
Sandeep,
You can do complex validations in your ActionForm validate method. You
can also still invoke Validator validations by calling super.validate()
in your validation method if you are extending
|org.apache.struts.validator.action.ValidatorForm
I have found that there are many situations
Hello,
I don't know what exactly you are doing, whre you are calling the validation
condition.
But still i have a copule of alternative for you, just try. Hope your
problem will be solved. Because i had same problem and i solved that by
applying this teh.
Solution:
Step1. Your
On 1/26/06, Daniel Kies [EMAIL PROTECTED] wrote:
Hello. I am trying to do some standard validations, but I am failing. Any
ideas why? I know the errors are getting raised as the request is
forwarding back to the initial page making the request, but the error
messages are not showing on the
Niall:
I took your recommendation and removed the action chaning from my struts
config. I am still not seeing any error text. Here is my new action
mapping:
action path=/Search name=searchForm type=
com.actions.SearchAction input=home.jsp validate=true
Dan,
Should you be using
html:text
instead of:
input type=text name=searchString size=30
input type=submit name=Submit value=Go
Tom
Daniel Kies [EMAIL PROTECTED]
01/26/2006 04:07 PM
Please respond to
Struts Users Mailing List user@struts.apache.org
To
Struts Users Mailing List
Either one would work, to be consistent with other struts tags I am using,
html:text is probably better. This doesn't affect the validation issue.
On 1/26/06, Thomas Garben [EMAIL PROTECTED] wrote:
Dan,
Should you be using
html:text
instead of:
input type=text name=searchString size=30
Try using DynaValidatorActionForm...
-Original Message-
From: Andrew Thorell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 19, 2005 10:44 AM
To: Struts Mailing List
Subject: Validation Problems
Hey all,
I've been trying for some time now to figure out what my problem is
with my
Thanks for the speedy reply, My time is limited to solve this
particular problem, but I'll definitely look into using
DynaValidatorActionForm. I do have another question though, why would
not using DynaValidatorActionForm prevent my code from display the
error back to the jsp? Is there a
13 matches
Mail list logo