Re: EditingContext problem
Re: EditingContext problem
- Subject: Re: EditingContext problem
- From: David LeBer <email@hidden>
- Date: Tue, 20 Apr 2004 17:08:11 -0400
EOUtilities is your friend:
EOEnterpriseObject eo = EOUtilities.localInstanceOfObject(peerEC,
object);
On 20-Apr-04, at 4:51 PM, James Cicenia wrote:
Hello all -
I have put my editing popup windows in their own peer contexts.
However, when I populate and save with an object that is stored
in my Session, the editing contexts are out of sync and I get a big
error.
I for instance, save the user after login into the session.. however,
the user comes from the defaultEditingContext. When I go to create/edit
my other object in a popup with a new EC, it doesn't like the user
which is in a different context.
How do I solve this conundrum?
Thanks again,
James Cicenia
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
;david
--
David LeBer
Codebase Software Systems
site: http://www.codebase.ca
blog: http://david.codebase.ca
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.