[Zope] Quick Acquisition Question

Dieter Maurer dieter@handshake.de
Wed, 22 Aug 2001 22:01:00 +0200 (CEST)


Ronald L. Chichester writes:
 > The child folders in question (as well as the parent) can contain
 > instances of other ZClass objects.  My question is, if I am in a child
 > folder buried deep down in the branch having a parent as a root note
 > (NOT the root folder), how can I get a list of the instances of the
 > other ZClasses in ALL of the other child (and parent) folder?
Seems to call for "ZopeFind"...

 > The next question is, the parent folder has a set of special folders
 > containing, for instance, a set of contacts (ZClasses).  If I am way
 > down the tree (by an arbitrary number of intermediate folders), how
 > would I refer back to the 'contacts' folder in the parent folder?
You could use acquisition (and refer to it by 'contacts'),
unless an intermediate folder had a 'contacts' (and you would want
to skip it) or the parent did not necessary have a 'contacts'.


Dieter