• 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: 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
  • Follow-Ups:
    • Re: Detecting eo changes when they happen
      • From: Ken Anderson <email@hidden>
    • Re: Detecting eo changes when they happen
      • From: Florijan Stamenkovic <email@hidden>
References: 
 >Detecting eo changes when they happen (From: Florijan Stamenkovic <email@hidden>)
 >Re: Detecting eo changes when they happen (From: Chuck Hill <email@hidden>)
 >Re: Detecting eo changes when they happen (From: Florijan Stamenkovic <email@hidden>)
 >Re: Detecting eo changes when they happen (From: Sacha Michel Mallais <email@hidden>)
 >[SOLVED] Re: Detecting eo changes when they happen (From: Florijan Stamenkovic <email@hidden>)
 >Re: [SOLVED] Re: Detecting eo changes when they happen (From: Ken Anderson <email@hidden>)

  • Prev by Date: Re: [SOLVED] Re: Detecting eo changes when they happen
  • Next by Date: Re: Detecting eo changes when they happen
  • Previous by thread: Re: [SOLVED] Re: Detecting eo changes when they happen
  • Next by thread: Re: Detecting eo changes when they happen
  • Index(es):
    • Date
    • Thread