----- Original Message -----
From: Tres Seaver <[EMAIL PROTECTED]>
> In our case, perhaps it needs to be::
>    def findNearestResource( meta_type ):
> which causes a walk up the containment hierarchy, searching for objects
> of the given meta_type.

This exists! (sort of).  ObjectManager.superValues accepts a list of
meta_types, and returns a list of all objects of those meta_types which can
be found in any ObjectManager in the current one's acquisition context.


Evan @ digicool & 4-am

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

Reply via email to