[Zope] simple question about <!--#if expr="fieldname = 't'"-->
Donald Braman
donald.braman@yale.edu
Mon, 19 Feb 2001 21:44:10 -0500
Works! One million thanks! Is that documented anywhere? -Don
-----Original Message-----
From: tim@mr1.its.yale.edu [mailto:tim@mr1.its.yale.edu]On Behalf Of Tim
Cook
Sent: Monday, February 19, 2001 9:38 PM
To: donald.braman@yale.edu
Cc: zope@zope.org
Subject: Re: [Zope] simple question about <!--#if expr="fieldname =
't'"-->
Donald Braman wrote:
> I'm having trouble making a simple text comparison (my very first in
Zope).
> <td><!--#if expr="fieldname = 't'"-->yes<!--else-->no<!--#/if></td>
> (Object: fieldname = 't')
> SyntaxError: (see above)
>
I think it's because you used the assignment operator '=' instead
of the comparison operator '=='.
--
Tim Cook, President - FreePM,Inc.
http://www.FreePM.com Office: (901) 884-4126
New MedicationManager, Try it now at:
http://www.freepm.org:8080/FreePM