----- 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. Cheers, Evan @ digicool & 4-am _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
- [Zope-dev] Observer / Notification Interface Proposal Tres Seaver
- Re: [Zope-dev] Observer / Notification Interface Pro... Phillip J. Eby
- Re: [Zope-dev] Observer / Notification Interface Pro... Michel Pelletier
- Re: [Zope-dev] Observer / Notification Interface Pro... Tres Seaver
- Re: [Zope-dev] Observer / Notification Interface... Phillip J. Eby
- Re: [Zope-dev] Observer / Notification Interface Pro... Tres Seaver
- Re: [Zope-dev] Observer / Notification Interface... Phillip J. Eby
- Re: [Zope-dev] Observer / Notification Interface Pro... Tres Seaver
- Re: [Zope-dev] Observer / Notification Interface... Evan Simpson
- Re: [Zope-dev] Observer / Notification Inter... Chris Withers
- Re: [Zope-dev] Observer / Notification Interface... Michel Pelletier
- Re: [Zope-dev] Observer / Notification Inter... Chris Withers
- [Zope-dev] Resource Discovery (was Observer / No... Phillip J. Eby
- Re: [Zope-dev] Resource Discovery (was Obser... Anthony Baxter
- Re: [Zope-dev] Resource Discovery (was O... Phillip J. Eby
