Malthe Borch wrote at 2005-3-27 01:15 +0100:
>I can't seem to find an elegant solution to checking if an object has a certain
>attribute. The following fails (i.e. zope dies), if the attribute does not
>exist:
>
><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).

-- 
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