Hi
See the solution for RequiredFieldValidator
http://www.roseindia.net/answers/viewanswers/31.html
Best Regards
-Original Message-
From: Jeromy Evans [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 20, 2008 4:15 AM
To: Struts Users Mailing List
Subject: Re: Struts2 field
Hi,
I am using struts 2.0.11 and I am wondering about the following:
I have an action with a Long property that is using both validation and
conversion (a custom converter).
I have a RequiredFieldValidator and a ConversionErrorFieldValidator set for
that property, as follows:
@Conversion
Filipe David Manana wrote:
So my question, is the RequiredFieldValidator is applied after conversion?
If conversion fails, the RequiredFieldValidator catches a blank value for
the field?
Yes, validation is performed on your action instance, after the
parameters have all been set, which
3 matches
Mail list logo