[Zope] context in a Product's python code (not Python Script)

Dieter Maurer dieter@handshake.de
Sun, 1 Dec 2002 23:41:25 +0100


John K. Hohm writes:
 > I have a Page Template and Python Script that are working fairly well together
 > to generate a navigational menu on my site, and now I want to make them part of
 > a product.  I have tried this:
The "context" equivalent in a Python product's method
is usually "self.aq_parent"; the "container" equivalent
"self.aq_inner.aq_parent".


Dieter