[Zope-CMF] Re: Design approach questions: unique content-ish
items?
Doyon, Jean-Francois
jdoyon at NRCan.gc.ca
Mon Sep 17 14:06:58 EDT 2007
Ah! The idea of more registries is what I'd have to go with I guess ...
I'll have a look and debate whether it's worth it :)
Thanks for the insight!
J.F.
-----Original Message-----
From: zope-cmf-bounces at lists.zope.org
[mailto:zope-cmf-bounces at lists.zope.org] On Behalf Of yuppie
Sent: September 17, 2007 13:49
To: Zope-CMF List
Subject: [Zope-CMF] Re: Design approach questions: unique content-ish
items?
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
_______________________________________________
Zope-CMF maillist - Zope-CMF at lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See http://collector.zope.org/CMF for bug reports and feature requests
More information about the Zope-CMF
mailing list