' -----Original Message-----
' From: Dieter Maurer [mailto:[EMAIL PROTECTED]

' <p tal:condition="exists: obj/someAttribute"
'    tal:replace="obj/someAttribute" />
' This should not fail and, especially, Zope should not die.
' If Zope really dies, then there is a *severe* problem elsewhere
' (not with your ZPT code).

It does fail, however zope doesn't 'die', it merely fails, displaying an error
message. But as somebody else pointed out, it should read:

  <p tal:condition="obj/someAttribute|nothing"
     tal:replace="obj/someAttribute" />

because it's the tal:condition-tag that is failing. that's how I understand it
at least.


Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to