[ZPT] Conditionals

Andreas Jung andreas at andreas-jung.com
Tue Mar 23 13:24:04 EST 2004



--On Dienstag, 23. März 2004 11:42 Uhr -0500 Michael Bond 
<mbond at the-forgotten.org> wrote:

>
> tal:condition="python:var1 == 'this' and python:var2 == 'that'"
>
> Also, how complex can it be made?

Why do you specify the second "python:"? If you have read the documentation 
carefully
then you should be aware that *everything* right of the first python: is 
treated as a
Python expression.

-aj





More information about the ZPT mailing list