Re: [Modeling-users] EditingContext and Zope Sessions
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2003-09-07 12:09:47
|
Hi, I worked a bit on the previously posted patch, the ability to bind mdl txns to zope txns is now controlled by a special property of the product. See the patch at: https://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D801961&group_= id=3D58935&atid=3D489337 This patch allows you to bind the sessions' defaultEditingContext() to the zope transaction mechanism. If the boolean property of the Product ZEditingContext (accessible at Control_Panel/Products/ZEditingContextSessioning/manage_propertiesForm) 'bind_saveChanges_to_zope_transactions' is set, saveChanges() is called on the session's defaultEditingContext() each time a zope request/txn ends. NB: this has already been applied to CVS and will be in the next release. Regards, -- S=E9bastien. frobni barka <fro...@ya...> wrote: > Hello, >=20 > According to the documentation > ZEditingContextSessioning allows to lazily create an > EditingContext on a per-session basis. >=20 > Is it possible to somehow (automatically) bind the > EditingContext to a Zope Transaction (e.g. a Web > Request). |