[Zope] dtml-if question

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Tue, 13 May 2003 13:19:21 +0200


search for "Odbc" on zope.org.

-aj

--On Dienstag, 13. Mai 2003 11:22 Uhr +0200 "n.a.s" <naus.office@aon.at> 
wrote:

> Hi,
>
> is it also possible to have an or clause in a dtml-if.
>
> The following didn't work:
>
> <dtml-if expr="_.has_key('nol') and nol=='root' or nol==''">
> ...
> </dtml-if>
>
>
> How do I add an or to a dtml-if?
>
>
> Thanks in advence
>
> Erwin
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )