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.

Regards
Roger Ineichen

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

Reply via email to