[Zope] how to avoid a redirect ?

Dylan Reinhardt zope@dylanreinhardt.com
17 May 2003 08:22:36 -0700

On Sat, 2003-05-17 at 01:34, Joachim Schmitz wrote:
> that helps in the case, where one does not change any objects in the 
> ZODB, but if one for example deletes objects in the formprocessing, 
> which you can mark in the formcode, then the deleted objects still show 
> up in the form, cause it is all done in one transaction.

Oh... I see what you're getting at. Sorry for the confusion.

That *is* a good argument for a redirect.  Unfortunately, (IIRC) some
browsers complain about being redirected on a POST.  

If you want to accomplish the same thing without using a redirect, you
could return an intermediate "changes accepted" screen that does an
HTTP-EQUIV refresh to your form after 1 or 2 seconds.