[ZPT] Pass parameters via RESPONSE.redirect
Dieter Maurer
dieter@handshake.de
Fri, 13 Dec 2002 23:15:28 +0100
Geir B=E6kholt writes:
> ...
> 4. The best solution IMHO, is to avoid redirecting alltogether , but
> just returning a zpt instead of redirecting to it:
>=20
> in a script(python) , you can do :
>=20
> return context.theZPTyoutalkedabout(author=3Dauthor)
>=20
> author should then be accessible as options/author (not
> request/options/author)
You must be careful with relative URL's in this case.
You might consider using the "EmulatedRedirect" method from
<http://www.dieter.handshake.de/pyprojects/zope>
Dieter