Hi Chuck,

If nothing like that exists, I am thinking of implementing it through a notification posting EOGenericRecord subclass. Any comments or tips about this?

There is a discussion and implementation of what you want in Practical WebObjects starting on page 67. You really need the help of the EC.

If I understand it correctly, your editing context subclass posts notifications once objects are saved to the persistent data store. I need notifications being fired on every edit of any EO in my app, not in the persistent store, but in the editing context. I need that to fire Swing events, but didn't point that out in my original post. And, I need them to fire *after* object(s) have been edited.

How about overriding all takeValue...() methods? Would that be inadvisable?

One more question: EOs are not automatically removed from to-many relationships after being deleted, even when their delete rule is set to nullify. Is this another client side EOClassDescription bug, or a standard behavior?

That is standard behavior. Delete rules are processed as part of the preparation work done in saveChanges(). You can call ec.processRecentChanges() to force this to happen earllier.

Good to know. Does that make sense? Shouldn't the object store reflect the latest changes to EOs managed in that store? Maybe I am missing something though...

Thanks,
Flor
_______________________________________________
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]

Reply via email to