[Zope] redirect after file upload

Dieter Maurer dieter at handshake.de
Fri Mar 10 13:07:08 EST 2006


Olivier Wambacq wrote at 2006-3-10 10:57 +0100:
>I managed to upload a file to the external folder with plonelocalfolderng
>and simultaniously to a database.
>
>but as you all know, after uploading a file with htmlformuploadfile, this
>automaticly redirects to plfng_view.
>but I made my own view of the files available in the folder, based on the
>content of my database.

Thus, you use your own action wrapper which calls the orginal action
and then redirects as you want it. The second redirect
overrides the first one.


-- 
Dieter


More information about the Zope mailing list