--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.

-aj

Attachment: pgpNF6PQVTMGP.pgp
Description: PGP signature

_______________________________________________
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 )

Reply via email to