[Zope] Transparent Redirect - Need To Allow QueryString
Oliver Bleutgen
myzope@gmx.net
Fri, 17 Jan 2003 20:23:02 +0100
Edward Pollard wrote:
> <!--#call "RESPONSE.setBase('http://www.mydomain.com/target_folder')"-->
>
> <dtml-with target_folder>
> <dtml-var index_html>
> </dtml-with>
>
> However, this code does not allow me to use the querystring ("?dept=4").
There are several ways, for instance
<dtml-with target_folder>
<dtml-let dept=4>
<dtml-var index_html>
</dtml-let>
</dtml-with>
See for instance Dieter Maurer's nice texts around
http://www.handshake.de/~dieter/pyprojects/zope/book/chap3.html#c37ac15c14b5
for an explanation, also the online help in the ZMI. These are quite
helpful things to know, so I recommend further reading.
HTH,
oliver