Whats the error? -- Andy McKay. ----- Original Message ----- From: "Yvonne Totty" <ytotty@atinucleus.com> To: "Andy McKay" <andym@ActiveState.com> Cc: <zope@zope.org> Sent: Wednesday, January 17, 2001 3:57 PM Subject: RE: [Zope] Putting a variable in a redirect call
Gosh darn it, it didn't work 8(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Yvonne Totty Database Engineer, x2198 ------------------------- Maximus: What we do in life, echoes in eternity. -- Gladiator
Exactly as per your first example:
<dtml-call "RESPONSE.redirect(baserefW + '/COMTemp')"> -- 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/Anywh ere/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