• 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: Managing EOF caching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Managing EOF caching


  • Subject: Re: Managing EOF caching
  • From: Ken Anderson <email@hidden>
  • Date: Sat, 21 Jan 2006 08:11:23 -0500

Art,

Surely, when not using undo(), getting rid of it is fine. However, I would say that in many circumstances, it's convenient to use inside your code if you're making changes to an EC, but you want to preserve the state in case something goes wrong (like a save failure due to your added changes). I then use the undo manager to do a partial revert when needed.

Ken

On Jan 21, 2006, at 12:06 AM, Art Isbell wrote:

On Jan 20, 2006, at 12:54 PM, Michael DeMan wrote:

1. assuming you are not using undo().

defaultEditingContext().undoManager().setLevelsOfUndo(1);

If this is good, wouldn't defaultEditingContext().setUndoManager (null) be even better? I've never been tripped up getting rid of the undo manager when not using undo, but maybe I've missed something.


Aloha,
Art

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40anderhome.com


This email sent to email@hidden

_______________________________________________ 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: 
 >RE: Managing EOF caching (From: Dave Rathnow <email@hidden>)
 >Re: Managing EOF caching (From: Michael DeMan <email@hidden>)
 >Re: Managing EOF caching (From: Art Isbell <email@hidden>)
 >Re: Managing EOF caching (From: "Jerry W. Walker" <email@hidden>)
 >Re: Managing EOF caching (From: Mike Schrag <email@hidden>)
 >Re: Managing EOF caching (From: "Jerry W. Walker" <email@hidden>)
 >Re: Managing EOF caching (From: Michael DeMan <email@hidden>)
 >Re: Managing EOF caching (From: Art Isbell <email@hidden>)

  • Prev by Date: File upload as longresponse page
  • Next by Date: Couting the objects that would be returned by a fetch specification
  • Previous by thread: Re: Managing EOF caching
  • Next by thread: Re: Managing EOF caching
  • Index(es):
    • Date
    • Thread