patch that makes saveChanges optional on session destruction in zope
John Lenton <[email protected]> Fri, 18 Jun 2004 12:55:30 -0300
| Newsgroups | gmane.comp.python.modeling |
|---|---|
| Message-ID | <[email protected]> |
Sender: John Lenton <[email protected]> This patch adds a boolean property to the ZEditingContextSessioning zope product that controls whether saveChanges is called upon session destruction. Defaults to true (i.e., do saveChanges). It's a very simple patch, but it does what we needed (building a web application that needs to ensure atomicity of a complex object that is created in multiple stages). On the same front, we *might* be building a (very stupid) application server---rather a Modeling server---for this, to enable simple creation of multiple complex-object-that-is-created-in-multiple-stages. I prototyped a readonly version in a night, and I think they liked it :) -- John Lenton ([email protected]) -- Random fortune: Robar las ideas de una persona es plagio; robarlas de muchas es investigación. -- Ley de Felson. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND