Am 11.04.2008 um 17:15 schrieb David Avendasora:
However, I've never worked with editing context's delegates though, and only assume about it's functionality, maybe Anjo had something different in mind...
I had in mind what he asked:
Does anyone have a way to disable the validation for a specific Remote Method Invocation (RMI), or and elegant way to not send the RMI unless the EO passes validation?
I didn't in particular try to guess why these were his options (which seem at odds to me, but hey, what do I know).
To validate an EC, you can processRecentChanges() which flushes the cascading deletes and stuff and then validate the EOs in inserted/ updated/deletedObjects individually. There is also a trySaveChanges() in the EC, but that's deprecated.
Cheers, Anjo _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
