Re: Managing EOF caching
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