[Zope] syntax check
Phil Harris
phil.harris@zope.co.uk
Wed, 28 Mar 2001 12:39:47 +0100
<dtml-if expr="type in ['course','event']">
----- Original Message -----
From: "Jonathan Cheyne" <jonathan@nha.org.uk>
To: <zope@zope.org>
Sent: Wednesday, March 28, 2001 12:24 PM
Subject: [Zope] syntax check
> what simple error am I making?
>
> <dtml-if expr="(type==['course','event'])">
>
> which i hoped would proceed on either basis but in fact always fails.
>
> ... <dtml-if expr="(type=='course')"> works ...
>
> Jonathan
>
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )