[Zope] Returning to page after updating database

Farrell, Troy troy.farrell@wilcom.com
Mon, 2 Apr 2001 11:05:32 -0500


Remember, no DTML inside DTML, so we want something like:

<dtml-call "REPONSE.redirect('index_html?ActionList=' + ActionList)">

Troy

-----Original Message-----
From: Gitte Wange [mailto:gitte@mmmanager.org]
Sent: Monday, April 02, 2001 10:54 AM
To: Laurie Nason
Cc: zope@zope.org
Subject: RE: [Zope] Returning to page after updating database


Okay that worked.
Now I want to redirect to the script with some arguments.
I have tried to make a redirect like this:
RESPONSE.redirect("index_html?ActionList=<dtml-var ActionList>") but I
keep get an error.

Is there another way to do this ?

Gitte

On 02 Apr 2001 10:04:42 -0500, Laurie Nason wrote:
> Try
> <dtml-call "RESPONSE.redirect('myhtmldoc')">
> 
> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Gitte
> Wange
> Sent: Monday, April 02, 2001 9:16 AM
> To: zope@zope.org
> Subject: [Zope] Returning to page after updating database
> 
> 
> Hello,
> I have a small problem that I cannot figure out.
> 
> I display a form for editing some data.
> When the submit button is hitted, a method is called that first calls
> the SQL method for updating the database, then calls a page that I want
> to return to.
> 
> But it never returns.
> How do you make a redirect ?
> 
> 
> Regards,
> -- 
> ************************
> Gitte Wange Jensen
> 
> System Squid Developer
> MMManager Aps
> +45 29 72 79 72
> 
> gitte@mmmanager.org
> ************************
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )


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