• 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: Local instance of EOF returning null
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Local instance of EOF returning null


  • Subject: Re: Local instance of EOF returning null
  • From: Ramsey Gurley <email@hidden>
  • Date: Sun, 02 Oct 2011 18:30:54 -0700


On Oct 2, 2011, at 4:32 PM, Pascal Robert wrote:

Problem is: localInstanceOfObject always returns null... unless that before I'm calling setConfSessionItem, if I call editingContext().saveChanges, now localInstanceOfObject. But I don't want to save the EO before moving to a new EC, so what is the recipe to move an EO to another EC when the EO have not been saved?

Use a nested EC and local instance it into that.  I like ERXEOControlUtilities.editableInstanceOfObject().  Just remember to save both ECs when you save.

Ramsey

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >Local instance of EOF returning null (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: Local instance of EOF returning null
  • Next by Date: Subject: Re: Problems with ERJavaMail
  • Previous by thread: Re: Local instance of EOF returning null
  • Next by thread: Subject: Re: Problems with ERJavaMail
  • Index(es):
    • Date
    • Thread