[Zope] Automatically go to another page after query results?

Steve Drees drees@the-bridge.net
Fri, 27 Jul 2001 09:03:44 -0500


> I did something like that the two weeks ago. After saving the
> info, I wanted
> to send them back to a certain page, and tell them that the info was saved
> successfully.
>
> Admin_editSectionForm is the page I wanted to send them to
> sectionSaved is a parameter I wanted to pass.
>
> <dtml-let pageLocation="'Admin_editSectionForm' + '?sectionSaved=1'">
>     <dtml-call expr="RESPONSE.redirect(pageLocation)">
> </dtml-let>


The real solution is to move business logic like this into a python script.