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.
----
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
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 )