[Zope] DTML Method truth value

David Ascher da@ski.org
Fri, 5 Mar 1999 14:10:22 -0800 (Pacific Standard Time)


The following method tests false (correctly):

<!--#if expr="[1,2,3]"-->
<!--#/if-->

But if I change it to:

<!--#if expr="[1,2,3]"-->
  <!--#in expr="[1,2,3]"-->
  <!--#/in -->
<!--#/if-->

then it tests true (note that nothing happens in the #in block).

Is this correct behavior or one for the Collector?

--david