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

Paula Mangas pamm@students.si.fct.unl.pt
Fri, 27 Jul 2001 00:15:58 +0100 (WEST)



Hi!

Try this:

REQUEST['RESPONSE'].redirect('path_wanted')


I hope this can help,
Paula Mangas




On Thu, 26 Jul 2001, Bob Campbell wrote:

> Hello all,
> Can anyone help Sheree, cause I certainly can't..., I'm still chunking away
> at the basics... Thanks!
>
> Here is the scenario....
>  (all of this is generated from a database)
>
> A user looks at the Officer info page and then clicks Modify to change the
> information. In the Modify page, once the user clicks Submit, the update is
> made and I then need to and send the user to back to the Officer info page.
>
> I've been trying RESPONSE.redirect but cannot figure out syntactically how
> to pass the
> parameters...
>
>  RESPONSE.redirect('cltest?var1=<dtml-var var1in>')
>
>  The above causes var1 to be equal to the actual text of <dtml-var var1in>
>
>  So what I need to do is... within a dtml method I want to automatically go
> to another page (need to
>  pass parameters as well) after certain steps are performed such as an
> update
>  query
>
>  In Cold Fusion I was able to do this using the CFLOCATION tag.
>
>  Hope someone can help!
>
>  Sheree Beaudette, AVP
> > Applications Support Analyst
> > Banknorth Group, Commercial Services
> > 207-828-7133
> > Fax:  207-756-6990
> > sbeaudette@banknorth.com
> >
> >
>
>
> _______________________________________________
> 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 )
>