[Zope-dev] Observer / Notification Interface Proposal

Evan Simpson evan@digicool.com
Thu, 25 May 2000 11:29:13 -0400


----- Original Message -----
From: Tres Seaver <tseaver@palladion.com>
> 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.

Cheers,

Evan @ digicool & 4-am