Re: Validating in a subcomponent (reusable component)
Re: Validating in a subcomponent (reusable component)
- Subject: Re: Validating in a subcomponent (reusable component)
- From: Arturo Pérez <email@hidden>
- Date: Fri, 10 Oct 2003 14:31:17 -0400
On Friday, October 10, 2003, at 02:25 PM, Chuck Hill wrote:
Arturo Pirez wrote:
On Friday, October 10, 2003, at 01:57 PM, Chuck Hill wrote:
Arturo Pirez wrote:
I'm seeing strange behavior if I throw a
NSValidation.ValidationException from a subcomponent/reusable
component.
Shouldn't that be where the validation logic happens? I guess I'm
not really understanding what you're saying above.
Yes. I was more asking if you were throwing the exception while
invoking an action or creating the response. Throwing an exception
there could be expected to have a very different result. :-)
Right. My validation takes place in a validateKey() method. So the
exception should be happening in the correct place. It works mostly
nicely except for the disappearing exception. Oh well. Must be one of
those warts that
drive certain kinds of people crazy. Thanks again.
Chuck
-------
WebObjects in Philadelphia. You want a cheesesteak with that?
Visit http://webobjects.meetup.com
_______________________________________________
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.