[Zope] RESPONSE.redirect - dynamic names?

Graham Chiu anon_emouse@hotmail.com
Fri, 28 Apr 2000 05:50:32 +1300


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In article <NCBBIIEJLJNANBLOIPPJKENGDCAA.ggardiner@synomics.com>, Geoff
Gardiner <ggardiner@synomics.com> writes
>Is there some reason why the insertion of a variable into a redirect might
>not work? Thus:
>
><dtml-let param="'sometext'">  -- sets param
><dtml-var param>               -- prints param as 'sometext'
><dtml-call "RESPONSE.redirect('processform?withparam=<dtml-var param>')">

I do this: 

<dtml-call "RESPONSE.redirect('processform?withparam=%s' % param)">

- -- 
Regards,        Graham Chiu
gchiu<at>compkarori.co.nz
http://www.compkarori.com/dynamo - The Homebuilt Dynamo
http://www.compkarori.com/dbase - The dBase bulletin

-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.7.1

iQA/AwUBOQfVKLTRdIWzaLpMEQJJ3gCfUE3yNYndP6LfFsog+g5GXORTtsEAoJXF
5cfI7+/POrbO5vCNyGhA0JTY
=oWDI
-----END PGP SIGNATURE-----