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

   I hope you understand that I forced Zope to call the id() function, but
only if it is function. Else _['id'] just returns the id string.

     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to