[Zope] Redirecting

Andreas Jung lists at zopyx.com
Mon Mar 12 12:04:34 EDT 2007



--On 12. März 2007 11:55:52 -0400 tonylabarbara at aol.com wrote:

> Hi;
> I have a Web site I'm building a shopping cart for that is built with a
> basic site template and an iframe where all the page-by-page info goes. I
> need to redirect the iframe to the address below, but when I use the
> current incantation, it replaces not just the iframe but the whole page!
> Can someone suggest a better idea? This is a python script:
> request = container.REQUEST
> response = request.RESPONSE
> response.redirect(request.BASE0 +
> '/EMarket/Our_Store/Main_frame.pt?category=' + category) TIA,

This will of course redirect the whole page including all contents.
You have to use Javascript.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070312/b8b7dc4f/attachment.bin


More information about the Zope mailing list