• 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
Nested EOEditingContext Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nested EOEditingContext Question


  • Subject: Nested EOEditingContext Question
  • From: "Chan Yeow Heong, Jerome" <email@hidden>
  • Date: Sat, 05 Sep 2009 17:50:04 +0800

When I'm using nested editing contexts, do I need to call revert on a original editing context when I call revert on the nested context?


EOEditingContext original = ERXEC.newEditingContext(true); EOEditingContext nested = ERXEC.newEditingContext(original,true);

... do some work ...


... something went wrong and we have to cancel all changes ...

nested.revert();
original.revert(); // <-- Is this second call needed?





_______________________________________________
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


  • Follow-Ups:
    • Re: Nested EOEditingContext Question
      • From: Johann Werner <email@hidden>
  • Prev by Date: [success] Re: Installing fresh WOLips+Eclipse on 10.6 failing
  • Next by Date: Re: Combining EXTJS with WebObjects.
  • Previous by thread: [success] Re: Installing fresh WOLips+Eclipse on 10.6 failing
  • Next by thread: Re: Nested EOEditingContext Question
  • Index(es):
    • Date
    • Thread