Hello all,
i've compiled castle validation from the Castle-Core-3.2.2 source code, and
when I try to set a custom error message on the ValidateLength attribute it
is being ignored.
I've had a very quick look at the code and can't immediately see the
problem. The constructor is as follows:
public ValidateLengthAttribute(int minLength, int maxLength, String
errorMessage) : base(errorMessage)
{
validator = new LengthValidator(minLength, maxLength);
}
Is anyone else seeing this, or even better has anyone got a fix? :)
--
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/castle-project-users.
For more options, visit https://groups.google.com/d/optout.