General Question: EditingContext.saveChanges() and the back button

Philipp Leusmann <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <007501c63d49$16bed570$0200a8c0@marvin>
Hi List,

I have a general question regarding webobjects-programming and back-button
issues:
I have two instances of subclasses of EOCustomObjects in a list. In a
component I edit the first one, but do not call
editingContext.saveChanges();. Now I hit the backbutton, edit the second
instance and call editingContext.saveChanges(); afterwards. As expected the
changes in both objects are saved. But I consider this quite unwanted, since
normal web-users should not worry about the webapps' editingContext.
Is there an easy technique to avoid this behaviour? Or will I always have to
work with copies of objects?

Regards,
 Philipp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.