Hi Darryl 

> Hi Roger,
> Thanks. Is there a preferred option between using 
> self.context = self.__parent__ = context and setting the 
> 'locate' directive in configure.
> My thought is that setting __parent__ on the adapter is 
> unecessary if locate does the job. 

Yes, I use most the time locate="True". But right, set the parent
explicit is also Ok. I don't thnk there is a preferred way.

just remember, 
the missing location on a adapters is most the time responsible 
for permission lookup problems.

Roger Ineichen

Zope3-users mailing list

Reply via email to