Michel Pelletier wrote:
> 
> Sorta.  There is a bindings tab on PythonMethods where you assign names
> to various variables that show up in your namespace.  'self' is the
> container.  'context' is the context.  So:
> 
> self.objectValues()
> 
> will allways call the container whereas:
> 
> context.objectValues()
> 
> will call the method on the currently bound object.

...but can you bind self to the context or, more perversely, context to
the container?

> Unfortunately, complex also means "too hard for me to think too hard
> about".  Any volunteers?

How about the person who suggested it? ;-)

cheers,

Chris

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to