[Zope] namespace problems

Chris Withers chrisw@nipltd.com
Mon, 29 Jan 2001 09:39:09 +0000


> Chris Withers wrote:
> >
> > > How would I do the URL redirect using an equivalent to the
> > > <dtml-call "RESPONSE.redirect(URL1)">   that's in the DTML Method below?
> >
> > context.RESPONSE.redirect(URL1)

D'Oh...

Either replace it with:

context.REQUEST.RESPONSE.redirect(URL1)

...or do the following:

-Go to the bindings tab and bind _ to the Namespace.
-Then do _.RESPONSE.redirect(URL1)

cheers,

Chris