[Zope] Putting a variable in a redirect call

Max M maxmcorp@worldonline.dk
Thu, 18 Jan 2001 01:03:56 +0100


From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Yvonne
Totty

>I need to replace the URL below to a partial <dtml-var> and and an address,
>like so:

><dtml-call "RESPONSE.redirect
>('https://www.mysite.com/scripts/zope.pcgi/Anywhere/COMTemp/'+LUserOut+'.do
c')">
>to:
><dtml-call "RESPONSE.redirect('<dtml-var baserefW>/COMTemp...blah, blah)">

Actually you are allmost doing it right yourself:

<dtml-call "RESPONSE.redirect(baserefW + '/COMTemp' + LUserOut + '.doc')">

Regards MaxM