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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag% 40mdimension.com

This email sent to [EMAIL PROTECTED]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to