[Zope-dev] Custom dtml tag ... parameters not evaluated

Randall F. Kern randy@spoke.net
Thu, 12 Apr 2001 09:37:20 -0700


Try adding something like this in your render method (haven't tried
this, but from a poking around the code in the DocumentTemplate
directory in the past this seems about right):

import VSEval
expr =3D VSEval.Eval(variable_you_want_to_evaluate)
value =3D expr.eval(md)

-Randy

> -----Original Message-----
> From: Romain Slootmaekers [mailto:romain@zzict.com]
>=20
> I'm trying to create a custom dtml tag, and after the How-to on this
> (http://www.zope.org/Members/z113/1) that in itself posed no=20
> problem: easy
> as pie. The problem I'm having with the tag is that parameters are not
> evaluated. for instance (my tag's name is 'aa')