Rollback or Commit in a DTML Method ?
Hello, Anybody to know to how to do a "Rollback" or a "Commit" in a DTML Method ? Thanks !! ------------------------------------ JUAN JAVIER CARRERA OBRERO e-mail: jcarrera@uco.es
Juan Javier Carrera Obrero wrote:
Hello,
Anybody to know to how to do a "Rollback" or a "Commit" in a DTML Method ?
To commit, do nothing. To rollback, raise an error: <dtml-raise> An Error! </dtml-raise> The current transaction is not commited if an error is raised. -Michel
Thanks !!
------------------------------------ JUAN JAVIER CARRERA OBRERO e-mail: jcarrera@uco.es
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
participants (2)
-
Juan Javier Carrera Obrero -
Michel Pelletier