28 Oct
2001
28 Oct
'01
6:13 p.m.
An FAQ! Ben Ocean writes:
... <dtml-if expr="sequence-item==0"> ... I get an error that the compiler doesn't recognize the variable *sequence*. Inside Python expressions (you explicitly write "expr=" to remind yourself that you are using a Python expression!), '-' is not part of a name but the operator minus...
Use <dtml-if expr="_['sequence-item'] == 0"> Dieter