Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detecting eo changes when they happen



Hi Pierre,


Thanks for pointing the code, it is however not what I need. It was my first thought to listen for EditingContext notifications, but they only are posted on some EditingContext actions, like saveChanges(), and not when an edit on an EO happens in the client editing context. I need to be notified as soon as for example:


person.setName("Dodo");

is called, and the change to person done, even though it is not yet committed to the parent object store.

Best regards,
Flor

Hi!

Using the ChangeNotificationCenter from http://www.bernard-web.com/ pierre/webobjects/code.html you may be notified that an object has changed. It won't however tell you which attribute was affected.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.