Grate Thanks It is working now !!!!
From: Dylan Reinhardt <zope@dylanreinhardt.com> Reply-To: zope@dylanreinhardt.com To: Alexander Alvarado <funalito@hotmail.com> CC: pw_lists@slinkp.com, Zope Users <zope@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/