Hello,
I'm new in the Castle AR and I have some problems in the
implementation.
I want to use the ActiveRecordValidationBase and i like to customize
the message. I found this example:
[ValidateEmail("Not a valid email")]
public String Email
{
get { return email; }
set { email = value; }
}
I think i have to use the method OnNotValid(), but i get the default
error message.
Anyone have a sample code to take the custom exceptions?
Thank you a lot, and sorry for my english.
Greetings from Argentina.
--
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en.