Re: Detecting eo changes when they happen
Re: Detecting eo changes when they happen
- Subject: Re: Detecting eo changes when they happen
- From: Florijan Stamenkovic <email@hidden>
- Date: Fri, 13 Oct 2006 15:11:30 +0200
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden