[ZPT] checking equality on a defined variable? Help?
James Carroll
jim at microbrightfield.com
Thu Apr 1 14:25:49 EST 2004
I'm looking for the word 'True' here, but instead I get 'False':
<span tal:define="which_rmas request/which_rmas | string:'active'">
Which RMAs?: <span tal:replace="which_rmas"></span>
is active? <span tal:replace="python:which_rmas=='active'"></span>
</span>
This produces the following:
Which RMAs?: 'active' is active? False
Can anyone spot the problem?
Thanks!
-Jim
More information about the ZPT
mailing list