[Zope] utilities @ the site level

Jim Pharis binbrain at gmail.com
Wed Dec 30 15:22:15 EST 2009


I should clarify that createobject is failing with a ComponentLookupError.

On Wed, Dec 30, 2009 at 2:45 PM, Jim Pharis <binbrain at gmail.com> wrote:

>
> Can I register utilities at the site level in zcml? And once I have the
> local utility registered, how do I pass that site manager context to my
> browser/forms so I can do things like createObject. createObject seems to
> fail because it can't find the utility, but I think that's because its not
> looking for the utililty at the site level.
>
> I'm using Zope2.12 w/five.localsitemanager.
>
> Thanks,
>
> - Jim
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20091230/7d9be0c6/attachment.html 


More information about the Zope mailing list