Andreas Jung wrote:
--On 11. September 2006 09:33:39 -0700 Erik Myllymaki
<[EMAIL PROTECTED]> wrote:
I'm trying this out and it seems to be working:
request.RESPONSE.redirect(context[next_page].absolute_url())
is this the *correct* way to do it?
Basically yes. But it is bad practice to perform redirections with a ZPT
(I assume that since you're using lowercase 'request'). Better use a
PythonScript instead.
yes it is in a python script; i just keep the boilerplate from the example
python scripts around:
request = context.REQUEST
.
.
.
request.RESPONSE.redirect(context[next_page].absolute_url())
.
.
.
Thanks.
_______________________________________________
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 )