Yves-Eric Martin wrote:
>     I am no Zope monitor expert, but maybe you will find my newbie point

For some definition of newbie... :-)

> of view helpful. Here is my understanding of the magic of this very
> helpful tool:
> - Zope.app() gives you a *copy* of the *real* application object.
> - app._p_jar.sync() reloads your copy with the real (losing your changes)
> - get_transaction().commit() writes your copy to the real (applying your
>     changes)

I didn't realize sync() was there.  Thanks for the tip!


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to