[Zope] syntax check

Jonathan Cheyne jonathan@nha.org.uk
Wed, 28 Mar 2001 14:39:42 +0100


   <dtml-if expr="type in ['course','event']">

Brilliant. Cheers to the others who also helped ...

   > 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 )