[Zope] Traversing a Root Level Folder's Hierarchy
Dieter Maurer
dieter@handshake.de
Tue, 11 Feb 2003 19:51:26 +0100
Asad Habib wrote at 2003-2-11 05:30 -0800:
> Hello. Does anyone know how to traverse a folder
> hierarchy in Zope? More specifically, I would like to
> add a property to all folder objects that lie beneath
> a root level folder-the only way to do this is to
> traverse the folder hierarchy that lies beneath this
> root level folder. Using the dtml-tree command allows
> me to go only one layer deep at a time and the same
> applies for the dtml-in command. Any input would be
> greatly appreciated. Thanks.
Use "ZopeFind" (--> "OFS/FindSupport.py") to build a list of objects
and apply your operation to this list.
Dieter