[Zope] Drilling into second-level object properties

Dieter Maurer dieter at handshake.de
Mon Aug 18 21:29:44 EDT 2003


Dan Shafer wrote at 2003-8-17 21:58 -0700:
 > ...
 > So the structure is:
 > 
 > Folder
 >    Document (with properties)
 >      <dtml method call>
 > 
 > Now, I need to write a routine that iterates over all the folders in a 
 > given directory, examines the document called [caseID]info to determine 
 > if one of its properties (coach_id) matches the name of the currently 
 > AUTHENTICATED_USER. If so, display the folder as an HREF (that I have 
 > working fine) and if not, skip it.

Tasks like this either call for ZCatalog (with a "PathIndex") or "ZopeFind".


Dieter



More information about the Zope mailing list