Jonathan Bowlas wrote at 2006-8-22 15:36 +0100:
>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.

The syntax is correct (at least, if you mean "or" and not "and").
And it should work...



-- 
Dieter
_______________________________________________
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 )

Reply via email to