[Zope-CMF] Re: Design approach questions: unique content-ish items?
yuppie
y.2007- at wcm-solutions.de
Mon Sep 17 13:48:30 EDT 2007
Hi!
Doyon, Jean-Francois wrote:
> The componentutility from GS wants the object to be in the root for some
> reason (Although from reading the code, it wasn't always so?).
>
> Maybe I can run a provideUtility() on the objects I'm interested in
> myself manually ... What is the rational for only supporting objects in
> the root?
1.) Registering objects from sub-folders in the root site manager
doesn't work without problems because utilities can't be stored with
acquisition wrappers and the re-wrapping always uses the root as context.
2.) It is possible to add additional site managers to sub-folders. That
works fine, just the GenericSetup support is missing:
http://www.zope.org/Collectors/CMF/500
Cheers,
Yuppie
More information about the Zope-CMF
mailing list