I found the issue already,
http://support.castleproject.org/projects/COMP/issues/view/COMP-ISSUE-33
On 23 sep, 14:00, Skafa <[EMAIL PROTECTED]> wrote:
> Is there a standard solution in Castle.Components.Validator to
> validate nested objects? (like the ObjectValidator attribute in
> Microsoft's VAAB).
>
> ie:
>
> public class Contact
> {
> [ValidateNonEmpty]
> public string Email { get; set; }
>
> [ValidateObject]
> public Address Address { get; set; }
>
> }
>
> public class Address
> {
> [ValidateNonEmpty]
> public string Street { get; set; }
>
> }
>
> So that, when I validate a Contact instance, Address gets also
> validated.
>
> Thanks in advance,
>
> Remco
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---