Hi,

On Mon, Dec 11, 2006 at 11:41:25PM +0100, David Johnson wrote:
> >Hi,
> >
> >is there any reason why a registered utility which is persistently stored 
> >inside the site
> >manager is never found via zapi.getUtility(IMyInterface) ?
> It's been my experience this is caused by registering with a name rather than 
> leaving the registration 
> blank. (This confused me for the longest time).

As shown in the sample code, the registration is done with name='' .

Regards,

Frank
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to