[Zope] If/And statements?

Jonothan Farr jfarr@real.com
Wed, 11 Oct 2000 15:07:49 -0700


<dtml-if "cond1 and cond2">

shorthand for

<dtml-if expr="cond1 and cond2">

i.e. everthing inside expr= is evaluated as a python expression in the current
namespace.

--jfarr

----- Original Message -----
From: "J. Atwood" <jatwood@bwanazulia.com>
To: <zope@zope.org>
Sent: Wednesday, October 11, 2000 2:15 PM
Subject: [Zope] If/And statements?


> Ok.. a very simple question.
>
> How do you do a if statement with an 'and'. If this, and that..
>
> Was just asked of me and I had really not come up against it in Zope.
>
> (must be Wednesday)
>
> Thanks,
> J
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )
>