[Zope] Simple dtml-unless problem

Tim Hicks Tim Hicks" <tim@sitefusion.co.uk
Wed, 13 Sep 2000 13:08:04 +0100


----- Original Message -----
From: "Oleg Broytmann" <phd@phd.russ.ru>
To: "Tim Hicks" <tim@sitefusion.co.uk>
Cc: <zope@zope.org>
Sent: Wednesday, September 13, 2000 12:56 PM
Subject: Re: [Zope] Simple dtml-unless problem


> On Wed, 13 Sep 2000, Tim Hicks wrote:
> > <dtml-unless "id == 'index_html'">
>
>    Sometimes id is string, sometimes it is a function.
>
> <dtml-unless "_['id'] == 'index_html'">
>

Thanks very much guys.  _['id'] fixed it.

tim
> Oleg.
> ----
>      Oleg Broytmann            http://phd.pp.ru/
phd@phd.pp.ru
>            Programmers don't die, they just GOSUB without RETURN.
>