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

Alexander Alvarado funalito at hotmail.com
Thu Sep 11 21:21:30 EDT 2003


Grate Thanks It is working now !!!!




>From: Dylan Reinhardt <zope at dylanreinhardt.com>
>Reply-To: zope at dylanreinhardt.com
>To: Alexander Alvarado <funalito at hotmail.com>
>CC: pw_lists at slinkp.com, Zope Users <zope at zope.org>
>Subject: Re: [Zope] <dtml-var expr="RESPONSE.redirect Question
>Date: 11 Sep 2003 13:07:28 -0700
>
>On Thu, 2003-09-11 at 12:43, Alexander Alvarado wrote:
> > Yes, that is what I want!!
> >
> > So I used the Python expresion:
> >
> > <dtml-var 
>expr="RESPONSE.redirect('Disponibilidad?Arrival=%s&Departure=%s' %
> > (REQUEST['dcArrival'], REQUEST['dcDeparture']))">
> >
> > But it sends mi to the Zope Quick Start page, What am i doing wrong 
>now??
>
>Good question is Disponibilidad maybe the name of a folder that doesn't
>have an index_html method?
>
>For best results, you should use a *absolute* URL in redirect(), not a
>*relative* URL such as you are currently using.  See if that doesn't
>clear things up.
>
>Also, it's not strictly necessary to say REQUEST['dcArrival'] unless
>you're passing in the name of the variable at runtime.  Just typing
>dcArrival should produce the same results.
>
>HTH,
>
>Dylan
>
>

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




More information about the Zope mailing list