[Zope] Get caller context
Dragos Chirila
d.chirila at finsiel.ro
Wed Apr 7 05:08:22 EDT 2004
Hi All
I have a folderish python object that has a method.
I want to be able to call this method using the context of the place I call
it from and not the place where the method is.
Example:
ROOT
-----/ myObject (has a python method named myMethod)
-----/ folder
----/folderMethod (ZPT)
I call myMethod of the myObject from the folderMethod of the folder object.
I want to execute myMethod in the context of the folder object.
I don't want to use REQUEST['HTTP_REFERER'].
How can I identify the caller(referer) object of the myMethod?
Thanks a lot,
Dragos
More information about the Zope
mailing list