[Zope] How to use RESPONSE.redirect ?

Stuart Foster stuartafoster@home.com
Thu, 17 Aug 2000 08:12:18 -0700


Thanks for the input.

-----Original Message-----
From: Curtis Maloney [mailto:curtis@umd.com.au]
Sent: Tuesday, August 15, 2000 5:59 PM
To: Stuart Foster; Zope List
Subject: Re: [Zope] How to use RESPONSE.redirect ?


On Wed, 16 Aug 2000, Stuart Foster wrote:
> I want to use redirect to call another form passing the current form, how
> can I do that.
>
> <dtml-call RESPONSE.redirect('otherform'+?????)>
>
> If I do
> <dtml-call RESPONSE.redirect('otherform')>
> The current form isn't being passed ?
>
If you want to pass the form variables, you're in for a fight. (o8
otherwise, you could simply try :

<dtml-var "otherform(_.None, _)"> instead of a redirect.

If you want to make sure only the correct form vars are passed, you could
flub it with something like:

<dtml-call "RESPONSE.redirect('otherform?var1=%s&var2=%s' % (var1, var2) )">

If this doesn't help, some more detail on your part might. (o8

> Any ideas..
>
> TIA
> Stuart
>

Have a better one,
	Curtis.