• 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: You crossed editing context boundaries...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: You crossed editing context boundaries...


  • Subject: Re: You crossed editing context boundaries...
  • From: Lachlan Deck <email@hidden>
  • Date: Wed, 15 Oct 2008 08:21:06 +1100

On 15/10/2008, at 8:13 AM, Clark Mueller wrote:

You need to get a local copy of the object in the editing context where you are trying to make the relationship. Have a look at EOUtilities.localInstanceOfObject(ec, object).

Clark

On Oct 14, 2008, at 2:09 PM, WebObjects wrote:

Hello, Im trying to use this method :

addObjectsToBothSidesOfRelationshipWithKey(NSArray obj1, String arg1)

or something like that.

What I have is my Employee and the turns that tis particular Employee selected. I dunno if I should use the method above or the other one with the same name, but with other arguments, (EORleationShipManipulation eo, String arg1).

addObject takes a single object, addObjects takes an array of objects - which is only relevant if you are adding multiple objects to a toMany relationship.


with regards,
--

Lachlan Deck



_______________________________________________
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: 
 >You crossed editing context boundaries... (From: WebObjects <email@hidden>)
 >Re: You crossed editing context boundaries... (From: Clark Mueller <email@hidden>)

  • Prev by Date: Re: You crossed editing context boundaries...
  • Next by Date: Re: You crossed editing context boundaries...
  • Previous by thread: Re: You crossed editing context boundaries...
  • Next by thread: Re: You crossed editing context boundaries...
  • Index(es):
    • Date
    • Thread