[Zope] dtml, cookies, forms, problems

Andreas Pakulat ap125@informatik.uni-rostock.de
Tue, 20 May 2003 01:01:38 +0200


--Kj7319i9nmIyA2yE
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 19.Mai 2003 - 13:43:25, Paul Winkler wrote:
> On Mon, May 19, 2003 at 10:57:34PM +0200, Andreas Pakulat wrote:
> > I would change that to:
> > <dtml-if "absolute_url =3D=3D usertheme">
>=20
> still a problem there... unless you've assigned something
> to this name, absolute_url is a method. the expression in
> quotes is a python expression, in which methods are not
> automagically invoked. so the above test will never
> be true.
>=20
> maybe this is what's intended?
>=20
> <dtml-if "absolute_url() =3D=3D usertheme">

Yes, I forgot the parentheses.

Andreas

--=20
You dialed 5483.

--Kj7319i9nmIyA2yE
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE+yWJSuekl0h+nrMIRAgXOAJ90zY/5vL19JXjZP28qiaBrqfJMkACgtc6v
IeUZZzkjcJrpwYTVMF0tSyo=
=rr+j
-----END PGP SIGNATURE-----

--Kj7319i9nmIyA2yE--