You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Struts Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/07/04 10:25:03 UTC
Struts Validator
Subject: Struts Validator
From: "Adrian Cunningham" <a....@kainos.com>
===
Hi,
I have a couple of questions about the struts validator.
In the application that I am developing I have a requirement for contract
specific validation. By this I mean that an input form for the UK may have
a specifc type of validation applied to it, but the same form for say Kenya
will have a slight variation of the validation, for example. The UK
contract may have a "Doc Ref" field which has an input mask of 3 characters,
a dash and 6 digits, whereas the same field for the Kenya contract can have
the same mask plus three others?
Is it possible to have more than one validation.xml file and have one
override the other?
I know that the Struts validator allows you to define different formsets
which are tied to the locale but contract specific validation would apply to
all locale's.
Regards,
Adrian Cunningham
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>