Yo,
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 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')
dtml-let y="someValue"
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 = VSEval.Eval(variable_you_want_to_evaluate)
value = expr.eval(md)
-Randy
-Original
Romain Slootmaekers writes:
I'm trying to create a custom dtml tag
... evaluating attribute valued ...
Look at the attribute "branches_expr" in
"TreeDisplay.TreeTag" as an example...
Dieter
___
Zope-Dev maillist - [EMAIL PROTECTED]