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. 

Best regards,
Darryl

Roger Ineichen wrote:
> 
> You can use in the adapter directive the locate attribute and perhaps
> a trusted attribute like:
> 
> <adapter
>     name="photo_or_somthing"
>     factory="theFactory"
>     locate="True"
>     trusted="True"
>     />
> 

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

Reply via email to