[Zope] String compare
Terry Hancock
hancock@anansispaceworks.com
Tue, 13 May 2003 10:45:39 -0700
On Tuesday 13 May 2003 10:05 am, n.a.s wrote:
> I can't compare a String with a dtml-var variable.
> <dtml-if expr="REQUEST.has_key('nol') and nol=='<dtml-var
id>'">
What did you expect '<dtml-var id>' to mean to *python*?
Inside python, just use the variable you want:
<dtml-if expr="REQUEST.has_key('nol') and nol==id">
--
Terry Hancock ( hancock at anansispaceworks.com )
Anansi Spaceworks http://www.anansispaceworks.com