[Zope] <dtml-var expr="RESPONSE.redirect Question

Alexander Alvarado funalito at hotmail.com
Thu Sep 11 20:13:51 EDT 2003


the problem is that I don't know how to add The_value to the URL


I did:
<dtml-call "RESPONSE.redirect('Disponibilidad_html?Arrival= <dtml-var 
dcArrival>&Departure= <dtml-var Departure> ')">

but ofcourse this does not work !

I just want to pass on some variables like forms do.

Thanks!!




>From: Dylan Reinhardt <zope at dylanreinhardt.com>
>Reply-To: zope at dylanreinhardt.com
>To: Alexander Alvarado <funalito at hotmail.com>
>CC: Zope Users <zope at zope.org>
>Subject: Re: [Zope] <dtml-var expr="RESPONSE.redirect         Question
>Date: 11 Sep 2003 11:40:39 -0700
>
>On Thu, 2003-09-11 at 11:34, Alexander Alvarado wrote:
> > Hi, this is adum question, but how can I include variables in the 
>redirect
> > expresion, I want to redirect to a page and at the same page send the
> > variables what I want is something like this:
> >
> > <dtml-var
> > 
>expr="RESPONSE.redirect('Disponibilidad?Arrival=The_value&Departure=The_value')">
> >
> > Where The_value is a date sent from an other page...
>
>Assuming that Disponibilidad resolves to a full URL (with http://) and
>The_value can be acquired, what you have should work.
>
>What errors/problems are you seeing?
>
>Dylan
>
>

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: 
http://messenger.yupimsn.com/




More information about the Zope mailing list