peter be writes:
 > In the root....
 > A DTML Method....
 > 
 > Some objects (mostly DTML Documents) have a property (boolean) that tells
 > whether this is a helppage or not.
 > What I want to do is to loop though eash and every object in the entire site
 > (not very big) and check if the object has this property.
You can use "ZopeFind" (see the object reference on zdp.zope.org
for a documentation) with 

        obj_expr='_.hasattr(aq_explicit,"your_property")'


You will need Zope 2.2.1 as older Zope version have a ZopeFind bug
preventing this use.


Dieter

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to