Hi
I am trying to add date validation in validation.xml file, i have it setup as
below, it validates properly data entry like 0A/01/2012 or 01/A2/2012
but it makes date 01/01/2ee3 to be a valid date which is clearly not,
what am i missing
constant
constant-namedateFormat/constant-name
this message in context:
http://www.nabble.com/Validation-Complications---Validating-only-those-fields-displayed-in-the-form%2C-and-not-the-rest-of-the-object-in-use-tp14722298p14722298.html
Sent from the Struts - User mailing list archive at Nabble.com
Singulariter wrote:
Hi all,
Quick Struts 2 validation question:
Is it possible to validate only the fields displayed in a form, when the
form's fields are part of a larger object that uses annotation validation?
The problem is that I am using one object across many forms, each form
contains
itself.
HTH,
L.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/Validation-Complications---Validating-only
Struts 2.0.9 + Tomcat 6 + Debian Linux
I'm not seeing any validation messages when the fields I submit are empty.
?debug=xml does not show any error messages on the stack. Seems like the
validation is not firing.
What am I missing? I tried to copy everything from the Logon example in the
--- Mitch Claborn [EMAIL PROTECTED] wrote:
Oops.
Question-validation.xml
public class ActionQuestion extends ActionSupport {
If you're gunning for validation based on the action
class name then this should be
ActionQuestion-validation.xml.
d.
--- Mitch Claborn [EMAIL PROTECTED] wrote:
Seems like the validation is not firing.
What am I missing?
Without any validation files and / or action files
it's kind of hard to say.
If you post your validation file (the tutorial uses an
XML config) that might be enough; posting your Action
file
]
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 11, 2007 1:23 PM
To: Struts Users Mailing List
Subject: Re: Validation not validating
--- Mitch Claborn [EMAIL PROTECTED] wrote:
Seems like the validation is not firing.
What am I missing?
Without any
-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 11, 2007 1:48 PM
To: Struts Users Mailing List
Subject: RE: Validation not validating
--- Mitch Claborn [EMAIL PROTECTED] wrote:
Oops.
Question-validation.xml
public class ActionQuestion extends ActionSupport {
If you're
9 matches
Mail list logo