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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to