[Zope] AAagghhh!!!
Bill Anderson
bill.anderson@libc.org
Tue, 30 Nov 1999 20:01:17 -0700
Sam Gendler wrote:
>
> If I do a <dtml-var DestinationURL>, It prints "http://desktop:8080"
>
> However, if I say <dtml-call "RESPONSE.redirect(DestinationURL)">, I
> wind up at
> http://desktop:8080/manage_addProduct/AMDAMethod/MethodClass_factory/%3cPython,
> which doesn't exist.
>
> Why?
Basically, what you are trying to do is call dtml from within dtml.
You want:
<dtml-call "RESPONSE.redirect(_['DestinationURL'])">
Cheers,
Bill
--
"They laughed at Columbus, they laughed at Fulton, they laughed at the
Wright brothers. But they also laughed at Bozo the Clown." -- Carl
Sagan