[Zope] Returning to page after updating database
Farrell, Troy
troy.farrell@wilcom.com
Mon, 2 Apr 2001 11:23:17 -0500
<dtml-call
"RESONSE.redirect('index_html?ActionList='+_.str(ActionList)+'&SpanishInquis
ition='+_.str(SpanishInquisition)+'&Spam='+_.str(UserWantsSpam))">
You get the point.
Troy
-----Original Message-----
From: Gitte Wange [mailto:gitte@mmmanager.org]
Sent: Monday, April 02, 2001 11:08 AM
To: Phil Harris
Cc: Laurie Nason; zope@zope.org
Subject: Re: [Zope] Returning to page after updating database
But what if I want to put several variables into that URL?
On 02 Apr 2001 17:01:52 +0100, Phil Harris wrote:
> <dtml-call
"RESPONSE.redirect('index_html?ActionList='+_.str(ActionList))">
>
> ----- Original Message -----
> From: "Gitte Wange" <gitte@mmmanager.org>
> To: "Laurie Nason" <laurien@tiger.3dem.bioch.bcm.tmc.edu>
> Cc: <zope@zope.org>
> Sent: Monday, April 02, 2001 4:54 PM
> 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 )
_______________________________________________
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 )