Re: Validating in a subcomponent (reusable component)
Re: Validating in a subcomponent (reusable component)
- Subject: Re: Validating in a subcomponent (reusable component)
- From: Chuck Hill <email@hidden>
- Date: Fri, 10 Oct 2003 10:57:39 -0700
- Organization: Global Village Consulting, Inc.
Hi Arutro,
Arturo Pirez wrote:
I'm seeing strange behavior if I throw a
NSValidation.ValidationException from a subcomponent/reusable component.
>
What sort of strange behavior? Which phase is it being throw from?
Does anyone know if subcomponents can use that mechanism to report
errors? Or is that an unsupported paradigm?
I'd think that they are only handled during the takeValues phase. You
could do something like call parent().validationFailedWithException
directly. I've used that and also added a more extensive validation
reporting mechanism when the situation called for it.
FWIW
Chuck
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
Progress is the mother of all problems.
- G. K. Chesterton
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.