[Zope] context in a python product

Paul Winkler pw_lists at slinkp.com
Thu May 20 13:49:08 EDT 2004


On Thu, May 20, 2004 at 07:43:44PM +0200, Henny van der Linde wrote:
> Hi,
> 
> I have an external product wich have to communicate with the nearest
> acl_user folder in the Zope hierarchy.
> However context (like in a python script) isn't recognized as a parameter in
> (a? )the product.
> 
> Can this be done and how?

If instances of your product live in the zope hierarchy,
then "self" is your access point.
e.g. self.acl_users should work.

-- 

Paul Winkler
http://www.slinkp.com



More information about the Zope mailing list