Please clarify: do you want to call the myMethod() method or are you talking of a HTTP Redirect? Referer != Caller Dragos Chirila wrote:
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
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )