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: EOF transient properties



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:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

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



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.