[Zope] transaction?

Peter Sabaini sabaini@niil.at
Fri, 14 Apr 2000 14:48:44 +0200 (CEST)


hello,

somehow i dont see changes made to zodb...

pls. consider following example:

* one dtml method 'm', empty.

* second dtml method, same folder:

<dtml-with testfolder>
<dtml-call "manage_delObjects('m')">
<dtml-call "manage_addDTMLMethod('m','',file='humpty')">
</dtml-with>

<dtml-var m><br>

<dtml-with testfolder>
<dtml-call "manage_delObjects('m')">
<dtml-call "manage_addDTMLMethod('m','',file='dumpty')">
</dtml-with>

<dtml-var m>


the second dtml method gives an output of

humpty
humpty

not of 

humpty
dumpty

as i would have expected. 

the above code is of course not very useful but demonstrated a real
problem i do have.

do i somehow have to commit changes to the zodb before they are
visible? 

thanks,
peter.

-- 

_________________________________________________
peter sabaini, mailto: sabaini@niil.at
-------------------------------------------------