Re: EC UndoManager Question
Re: EC UndoManager Question
- Subject: Re: EC UndoManager Question
- From: Mike Schrag <email@hidden>
- Date: Wed, 23 Aug 2006 12:56:14 -0400
see also:
http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Using_EOF/
Undo_and_Redo
http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Using_EOF/
Memory_Management#NSUndoManager
On Aug 23, 2006, at 12:53 PM, Chuck Hill wrote:
On Aug 23, 2006, at 1:16 AM, Ute Hoffmann wrote:
Hallo,
can someone please confirm that the undoManager does only cache ec-
States which are connected to database changes (inserts/
saveChanges), but not database states connected with fetches or
such, which are only displayed in a component (no change possible/
done)?
None of the above. :-) The EOEditingContext's undo manager
snapshots changes in the EOs that the EC manages. It does not
matter if these have been saved to the data store or not. Since
fetches don't change the state of EOs, they are not reflected in
the undo manager.
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/
practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mdimension.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