validating deleting an object with relationship
validating deleting an object with relationship
- Subject: validating deleting an object with relationship
- From: Johan Henselmans <email@hidden>
- Date: Tue, 19 Jan 2010 01:49:02 +0100
I want to delete an EO object only if some data is not available in one of its relationships.
validateForDelete() can not be used, because before that us called the relations have already been obliterated.
mightDelete() gives the required info, but does not raise a validation exception.
How does one raise a validation exception in this situation, so that it will give these nice Yellow messages in a direct To Web Application?
Johan Henselmans
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden