--On 22. August 2006 15:36:20 +0100 Jonathan Bowlas <[EMAIL PROTECTED]> wrote:
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). -aj
pgpA3XYY89Xab.pgp
Description: PGP signature
_______________________________________________ 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 )