[Zope] Multiple conditions inside tales

Jonathan Bowlas me at jonbowlas.com
Tue Aug 22 10:36:20 EDT 2006


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()"

When I test it seems to ignore the 2nd condition, so could anyone suggest
the correct syntax.

Cheers

Jon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20060822/d397a238/attachment.htm


More information about the Zope mailing list