• 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: EC UndoManager Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >EC UndoManager Question (From: Ute Hoffmann <email@hidden>)
 >Re: EC UndoManager Question (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Committing during a schema synch
  • Next by Date: Re: CoSign and WebObjects
  • Previous by thread: Re: EC UndoManager Question
  • Next by thread: Committing during a schema synch
  • Index(es):
    • Date
    • Thread