[Zope-DB] rollback / commit inside DTML : How To ??

Federico Di Gregorio fog@initd.org
07 Oct 2002 19:30:43 +0200


--=-U7IrO+XXDEuaa+pH5JIj
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Il lun, 2002-10-07 alle 18:43, Harald Koschinski ha scritto:
> Hi,
>=20
> does anybody know, howto commit / rollback a DB-transaction inside a DTML=
-Script by hand.
>=20
> Something like
> <dtml-commit>  :-))
>=20
> I know the python functions (get_transaction().commit() ...) but how can =
I call

*don't* *call* *them*. (zope does it for you and you will only mess with
the transaction system..)

--=20
Federico Di Gregorio
Debian GNU/Linux Developer & Italian Press Contact        fog@debian.org
INIT.D Developer                                           fog@initd.org
             A short story: I want you. I love you. I'll miss you. -- Me

--=-U7IrO+XXDEuaa+pH5JIj
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQA9ocTDvcCgrgZGjesRAk6BAJ9JQaLTQ1wXl0l0O9ykRnGCdede4gCg0iw4
Yn3wQTlqVMchPz+Ar32Ef3A=
=GO5j
-----END PGP SIGNATURE-----

--=-U7IrO+XXDEuaa+pH5JIj--