[ZPT] checking equality on a defined variable? Help?

Andreas Jung andreas at andreas-jung.com
Thu Apr 1 14:56:52 EST 2004



--On Donnerstag, 1. April 2004 14:25 Uhr -0500 James Carroll 
<jim at microbrightfield.com> wrote:

>
> I'm looking for the word 'True' here, but instead I get 'False':
>
>   <span tal:define="which_rmas request/which_rmas | string:'active'">
 
^^^^^^^^^^^

This creates a single-quoted string and not an unquoted string.

-aj





More information about the ZPT mailing list