• 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: EOF transient properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EOF transient properties


  • Subject: Re: EOF transient properties
  • From: Mike Schrag <email@hidden>
  • Date: Mon, 27 Jul 2009 09:58:09 -0400

EOUtilities.localInstance(ec, eo) calls

ec.faultForGlobalID(eo.ec().globalIDForObject(eo), ec)

So you can override faultForGlobalID in a custom EC subclass and do this copying yourself, based on some rationale you cook up.
yeah, i looked at this thinking I could add a will/didLocalInstance method on ERXGenericRecord, but you can't easily, because it doesn't pass in the original object or its original EC, just its gid and the new ec, which means you'd have to do a whole ThreadLocal thing, which didn't really seem worth it to me.

ms

_______________________________________________
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


References: 
 >EOF transient properties (From: "Paulo F. Andrade" <email@hidden>)
 >Re: EOF transient properties (From: Chuck Hill <email@hidden>)
 >Re: EOF transient properties (From: Ken Anderson <email@hidden>)
 >Re: EOF transient properties (From: Anjo Krank <email@hidden>)

  • Prev by Date: Re: EOF transient properties
  • Next by Date: Maven question...
  • Previous by thread: Re: EOF transient properties
  • Next by thread: Re: EOF transient properties
  • Index(es):
    • Date
    • Thread