Index: lib/python/Products/Five/component/component.txt =================================================================== --- lib/python/Products/Five/component/component.txt (revision 104413) +++ lib/python/Products/Five/component/component.txt (working copy) @@ -63,7 +63,20 @@ >>> IComponentLookup(orphan) is getGlobalSiteManager() True +How about an object that uses both? Acquisition and ILocation? + >>> from OFS.SimpleItem import SimpleItem + >>> from zope.app.container.contained import Contained + >>> class AQLocated(Contained, SimpleItem):\ + ... pass + >>> folder = ObjectManager() + >>> folder = folder.__of__(site) + >>> ob = AQLocated() + >>> ob.__parent__ = folder + >>> ob = ob.__of__(folder) + >>> IComponentLookup(ob) is components + True + Clean up: ---------