Exactly as per your first example:

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


----- Original Message -----
From: "Yvonne Totty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
>
>
>
>


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to