[Zope] URL Pathing.

Jason Leach jason.leach at gmail.com
Mon Sep 13 12:23:34 EDT 2004


hi,

If I have http://www.foo.com/ShoppingCart/addItem and it returns:
container.aq_parrent.myZPT(REQUEST=REQUEST) I end up with the URL:
http://www.foo.com/ShoppingCart/myZPT even though myZPT exists in the
parent folder (http://www.foo.com/myZPT).  My problem is if people
keep adding things to the cart I end up with
www.foo.com/ShoppingCart/ShoppingCart/myZPT.

I don't want that. It keeps recursing and getting longer.  Show how
can I return a ZPT object and hot have the URL be nonsensical?  Must I
do a redirection? Why can't I just return?

Thanks,
Jason.


More information about the Zope mailing list