• 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: EditingContext problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >EditingContext problem (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: EditingContext problem
  • Next by Date: Re: EditingContext problem
  • Previous by thread: Re: EditingContext problem
  • Next by thread: Re: EditingContext problem
  • Index(es):
    • Date
    • Thread