Philipp von Weitershausen wrote:
class IComponentRegistry(interface.Interface):
I think you should use zope.component.getGlobalSiteManager() for this.
So getGlobalSiteManager returns a component registry?
If so, how come it's not called getGlobalComponentRegistry?
How do you set up nested registries? For example, if a certain area of a
site should have a registry which overrides the global one, but only for
that area, and should fall back on it if not adapter could be found?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )