[Zope] Returning a PageTemplate within a Disk-based Product always returns the aq_parent, not the ZPT itself

nicogrubert at arcor.de nicogrubert at arcor.de
Fri Dec 12 12:33:00 EST 2003


> I'm not sure what you mean by "show" -- where does Zope show you this 
> URL? If you're talking about your browsers address bar, this will be the 
> same as the original request to your product instance, since you are 
> staying within the same HTTP request (when returning the page, instead 
> of redirecting)

Hello Peter,

by "show", I mean the URL in browser's address bar.
When calling the method defined my product, I come from the URL:
http://localhost:8080/MyProductInstance/authors/Add_Author.html

So, if I stay in the same HTTP request, shoudn't it be http://localhost:8080/MyProductInstance/authors/Add_Author.html when calling the python 
method to return the page template ?

-nico







More information about the Zope mailing list