[Zope-dev] Stupid dtml-if comparision

David Cain dacain@library.syr.edu
Thu, 6 Mar 2003 16:33:02 -0500


I'm trying to compare two number, or at least I think they're numbers.

If I do:
   <dtml-var i>
   <dtml-var j>
   <dtml-if expr="i == j">
     Equal block
   </dtml-if>
I and J print out the same, but do not compare to be equal since "Equal
block" string doesn't print.

I must be doing something wrong.  

Please, suggestions before I pull out all my hair.


David Cain
Senior Web Developer, Information Systems Department 
Syracuse University Library
Syracuse, New York 13244-2010
(315) 443-5923
mailto:dacain@library.syr.edu
mailto:dacain@syr.edu