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:[EMAIL PROTECTED] 
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 <[EMAIL PROTECTED]>:


> (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.


_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to