[Zope] response.redirect not working

Artūras arturas at gce.lt
Fri May 20 17:21:01 EDT 2005


Hello


The  <dtml-return "RESPONSE.redirect('index_html')"> did the trick :) Thank you, Jo :)


For David: this redirect was for exceptional situation - if user ID was changed the the whole page had to be reloaded with new ID, that was redirect('user_html?id=xxxx') style. All other variables should have been dropped. This was the expected behavior :)


Thank you all for your support and ideas :)
 
Artūras
 

-----Original Message-----
From: Jo Meder [mailto:jo at meder.de] 
Sent: 2005 m. gegužės 21 d. 00:10
To: Art??ras
Subject: Re: [Zope] response.redirect not working

Am 20.05.2005, 22:45 Uhr
	schrähb Art??ras <arturas at gce.lt>:


> (1) <dtml-if form>
> (2)   <dtml-call "RESPONSE.redirect('index_html')">

<dtml-call ...> won't stop processing of the rest of the page. Have
you tried 

    <dtml-return "RESPONSE.redirect('index_html')">

instead?    

	Jo.




More information about the Zope mailing list