[ZPT] Conditionals

Dieter Maurer dieter at handshake.de
Tue Mar 23 15:46:23 EST 2004


Michael Bond wrote at 2004-3-23 11:42 -0500:
>
>Is it possible to combine various conditionals into 1 tal:condition 
>expression?
>
>If i wanted to do:
>
>if (var1 == 'this' && var2 =='that')

Use a "python:" type TALES expression and Pythons "and", "or" and "not"
operators.

-- 
Dieter



More information about the ZPT mailing list