also, if you are using wonder, check out
hasKeyChangedFromCommittedSnapshot in ERXGenericRecord. maybe listen
for the notification mentioned by chuck, then use
hasKeyChangedFromCommittedSnapshot to check the particular key you are
looking at.

simon

2009/7/9 Chuck Hill <ch...@global-village.net>:
>
> On Jul 9, 2009, at 10:24 AM, Lon Varscsak wrote:
>
>> Is there a way for a controller object to listen for changes to an EO
>> (and a specific key)?
>>
>> Thanks,
>>
>> Lon
>
> EOEditingContext has ObjectsChangedInEditingContextNotification, but it is
> on an object by object basis, not a key by key one.
>
> You could implement this in your EO super class.
>
>
> Chuck
>
> --
> Chuck Hill             Senior Consultant / VP Development
>
> Practical WebObjects - for developers who want to increase their overall
> knowledge of WebObjects or who are trying to solve specific problems.
> http://www.global-village.net/products/practical_webobjects
>
>
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk
>
> This email sent to si...@potwells.co.uk
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to