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!

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.

Pierre


On Oct 10, 2006, at 6:03 PM, Florijan Stamenkovic wrote:

Hi all,


I am trying to find a way to detect changes eos just *after* they happen. If possible the implementation should consider the Author object changed, if one of his Books has been unassociated / deleted.


I tried with EOEditingContext notifications, but they are posted only at save time. I also could not find anything to fit the purpose in Project Wonder, yet.

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

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?

Thanks
Flor
_______________________________________________
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/webobjects- email@hidden


This email sent to email@hidden

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



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.