Hi Pierre,

Florijan,

the code I am proposing builds upon the ObjectsChangedInEditingContextNotification. This notification is posted as changes happen. It is not delayed until saveChanges(). This is actually used in the Java client to update the UI as changes happen.

I find this very strange, since I have tested that option. As a test I have added an omniscient observer to the notification center, and logged all notifications, printing out their names. ObjectsChangedInEditingContextNotification did *not* get posted on object changes, but it did get posted when I called saveChanges() on my editing context. If I recall correctly, some NSUndoManager notifications got posted at object change time. The test code is pretty simple, so I can't imagine I screwed it up. I am a bit stupefied by this... I can not find an EOEditingContext property which might have something to do with this. Am I missing something???

Florijan
_______________________________________________
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