[Zope] Putting a variable in a redirect call

Andy McKay andym@ActiveState.com
Wed, 17 Jan 2001 15:39:58 -0800


Please dont post in html BTW.
--
  Andy McKay.


----- Original Message -----
From: "Yvonne Totty" <ytotty@atinucleus.com>
To: <zope@zope.org>
Sent: Wednesday, January 17, 2001 3:11 PM
Subject: [Zope] Putting a variable in a redirect call


> All,
>
> 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/COMTem
p/'+LUserOut+'
> .doc')">
> to:
> <dtml-call "RESPONSE.redirect('<dtml-var baserefW>/COMTemp...blah, blah)">
>
> where baserefW contains the information replaced in the second sentence to
make the
> address
> easily changeable site-wide.
>
> How can I acheive this?
> TIA,
>
> -y
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Yvonne Totty
> Database Engineer, x2198
> -------------------------
> Maximus: What we do in life, echoes in eternity.
>     -- Gladiator
>
>
>
>