[Zope] dtml-if problem

Andy McKay andym@ActiveState.com
Thu, 19 Oct 2000 13:46:25 -0700


Could be that you are not evaluting the string of Area try:

<dtml-if "_.str(Area) == 'BIS'">

----- Original Message ----- 
From: "Terry Babbey" <terry@lambton.on.ca>
To: <zope@zope.org>
Sent: Thursday, October 19, 2000 1:37 PM
Subject: [Zope] dtml-if problem


> The following will not evaluate true and I am stumped again.
> 
> <dtml-if "Area == 'BIS'">
> 
> Area is a variable I am passing to my method and I want to check to
> see if the variable is set to BIS, but it never returns true even
> though a <dtml-var Area> displays BIS.
> 
> Confused as always,
> Terry
> 
> --
> __________________________________________________________________
> Terry Babbey
> Technical Support Specialist
> Lambton College, Sarnia, Ontario, Canada
> __________________________________________________________________
> 
> 
> 
> _______________________________________________
> 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 )
>