Re: Local instance of EOF returning null
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