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: Wed, 11 Oct 2006 15:39:26 +0200
Hi Ken,
How many cases do you need this information in? Personally, I
would use EOGenerator, generate 2 class files (the underscore and
regular classes) and add set and get methods with special names to
the class. Then you could hook up your UI to those methods instead
of the regular methods, and be guaranteed to know when they change
without a lot of extra plumbing.
I was just logging all what comes through takeStoredValue...().
Stupid me, I forgot about the plumbing...
So, it seems that what you an Sacha suggested (implementing through
generated classes) is the only reasonable solution. Although I do not
understand your suggestion. Why are two class files needed?
I understand Sacha's idea about using generated setter methods to
post my notifications, and think it should work, if I change my GUI
code to use only generated setters, and EOCustomObject methods that
attempt to go through them before anything else.
Cheers,
Flor
_______________________________________________
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