AW: AW: [Zope3-dev] getService() call local from global Bug/Hook
Roger Ineichen
r.ineichen at projekt01.ch
Tue Jun 1 10:09:16 EDT 2004
> > Ok, that's working fine now:
> > zapi.getService(PrincipalAnnotationServiceName)
> >
> > for to use in a adapter where adapts local or global utilities.
> >
> > The method getService(PrincipalAnnotationServiceName) in a adapter
> > returns the principal annotation service on global utilities form a
> > service manager above. Then the principal annotation
> service exist as
> > a local service and is above the service manager where the adapter
> > adapts the global utility. And there was no easy way for to
> make shure
> > the adapter could be used for global and local utilities, becaus of
> > their different lookup of the local principal annotation servcice
> > from the global or local context of the utility.
>
> I don' know what you just said. So I assume it amounts
> to "OK". :)
>
> Jim
Yes
Regards
Roger
More information about the Zope3-dev
mailing list