• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Detecting eo changes when they happen
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Detecting eo changes when they happen (From: Florijan Stamenkovic <email@hidden>)
 >Re: Detecting eo changes when they happen (From: Pierre Bernard <email@hidden>)
 >Re: Detecting eo changes when they happen (From: Florijan Stamenkovic <email@hidden>)
 >Re: Detecting eo changes when they happen (From: Pierre Bernard <email@hidden>)

  • Prev by Date: Re: Trouble adding Project Wonder frameworks to XCode project
  • Next by Date: WOComponent for Displaying PDF Problem
  • Previous by thread: Re: Detecting eo changes when they happen
  • Next by thread: WOUnittest2 Error JavaNoneAdaptor
  • Index(es):
    • Date
    • Thread