12 Sep
2000
12 Sep
'00
6:10 p.m.
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
9338
Age (days ago)
9338
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer