[Zope] How to use RESPONSE.redirect ?
Curtis Maloney
curtis@umd.com.au
Wed, 16 Aug 2000 10:59:20 +1000
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.