So what if the first part evaluates to false? Which is what would happen in
my case, it doesn't then test for the 2nd condition?


-----Original Message-----
From: Andreas Jung [mailto:[EMAIL PROTECTED] 
Sent: 22 August 2006 15:43
Subject: Re: [Zope] Multiple conditions inside tales

--On 22. August 2006 15:36:20 +0100 Jonathan Bowlas <[EMAIL PROTECTED]> 

> Hi All,
> Just a quickie to see if I can do this:
> tal:condition="python:context.REQUEST.model.meta_type=='Silva Publication'
> or context.REQUEST.model.is_default()"

If the first part of the OR clause evaluates to True then there is no need
to evaluate the second part (optimization).


Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to