[Zope] Automatically go to another page after query results?
tomc@evetcia.com
tomc@evetcia.com
Fri, 27 Jul 2001 09:18:06 +1000
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C11629.3A2862C0
Content-Type: text/plain;
charset="iso-8859-1"
Try
RESPONSE.redirect('cltest?var1=' + var1in)
Tom
=> -----Original Message-----
=> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On
=> Behalf Of Bob
=> Campbell
=> Sent: Friday, 27 July 2001 9:03 AM
=> To: Zope@zope.org
=> Subject: [Zope] Automatically go to another page after query results?
=>
=>
=> 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 )
=>
------_=_NextPart_001_01C11629.3A2862C0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Zope] Automatically go to another page after query =
results?</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Try </FONT>
</P>
<P><FONT SIZE=3D2>RESPONSE.redirect('cltest?var1=3D' + var1in)</FONT>
</P>
<P><FONT SIZE=3D2>Tom</FONT>
</P>
<P><FONT SIZE=3D2>=3D> -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>=3D> From: zope-admin@zope.org [<A =
HREF=3D"mailto:zope-admin@zope.org">mailto:zope-admin@zope.org</A>]On =
</FONT>
<BR><FONT SIZE=3D2>=3D> Behalf Of Bob</FONT>
<BR><FONT SIZE=3D2>=3D> Campbell</FONT>
<BR><FONT SIZE=3D2>=3D> Sent: Friday, 27 July 2001 9:03 AM</FONT>
<BR><FONT SIZE=3D2>=3D> To: Zope@zope.org</FONT>
<BR><FONT SIZE=3D2>=3D> Subject: [Zope] Automatically go to another =
page after query results?</FONT>
<BR><FONT SIZE=3D2>=3D> </FONT>
<BR><FONT SIZE=3D2>=3D> </FONT>
<BR><FONT SIZE=3D2>=3D> Hello all,</FONT>
<BR><FONT SIZE=3D2>=3D> Can anyone help Sheree, cause I certainly =
can't..., I'm </FONT>
<BR><FONT SIZE=3D2>=3D> still chunking away</FONT>
<BR><FONT SIZE=3D2>=3D> at the basics... Thanks!</FONT>
<BR><FONT SIZE=3D2>=3D> </FONT>
<BR><FONT SIZE=3D2>=3D> Here is the scenario....</FONT>
<BR><FONT SIZE=3D2>=3D> (all of this is generated from a =
database)</FONT>
<BR><FONT SIZE=3D2>=3D> </FONT>
<BR><FONT SIZE=3D2>=3D> A user looks at the Officer info page and =
then clicks Modify </FONT>
<BR><FONT SIZE=3D2>=3D> to change the</FONT>
<BR><FONT SIZE=3D2>=3D> information. In the Modify page, once the =
user clicks </FONT>
<BR><FONT SIZE=3D2>=3D> Submit, the update is</FONT>
<BR><FONT SIZE=3D2>=3D> made and I then need to and send the user to =
back to the </FONT>
<BR><FONT SIZE=3D2>=3D> Officer info page.</FONT>
<BR><FONT SIZE=3D2>=3D> </FONT>
<BR><FONT SIZE=3D2>=3D> I've been trying RESPONSE.redirect but =
cannot figure out </FONT>
<BR><FONT SIZE=3D2>=3D> syntactically how</FONT>
<BR><FONT SIZE=3D2>=3D> to pass the</FONT>
<BR><FONT SIZE=3D2>=3D> parameters...</FONT>
<BR><FONT SIZE=3D2>=3D> </FONT>
<BR><FONT SIZE=3D2>=3D> =
RESPONSE.redirect('cltest?var1=3D<dtml-var var1in>')</FONT>
<BR><FONT SIZE=3D2>=3D> </FONT>
<BR><FONT SIZE=3D2>=3D> The above causes var1 to be equal to =
the actual text of </FONT>
<BR><FONT SIZE=3D2>=3D> <dtml-var var1in></FONT>
<BR><FONT SIZE=3D2>=3D> </FONT>
<BR><FONT SIZE=3D2>=3D> So what I need to do is... within a =
dtml method I want to </FONT>
<BR><FONT SIZE=3D2>=3D> automatically go</FONT>
<BR><FONT SIZE=3D2>=3D> to another page (need to</FONT>
<BR><FONT SIZE=3D2>=3D> pass parameters as well) after certain =
steps are performed </FONT>
<BR><FONT SIZE=3D2>=3D> such as an</FONT>
<BR><FONT SIZE=3D2>=3D> update</FONT>
<BR><FONT SIZE=3D2>=3D> query</FONT>
<BR><FONT SIZE=3D2>=3D> </FONT>
<BR><FONT SIZE=3D2>=3D> In Cold Fusion I was able to do this =
using the CFLOCATION tag.</FONT>
<BR><FONT SIZE=3D2>=3D> </FONT>
<BR><FONT SIZE=3D2>=3D> Hope someone can help!</FONT>
<BR><FONT SIZE=3D2>=3D> </FONT>
<BR><FONT SIZE=3D2>=3D> Sheree Beaudette, AVP</FONT>
<BR><FONT SIZE=3D2>=3D> > Applications Support Analyst</FONT>
<BR><FONT SIZE=3D2>=3D> > Banknorth Group, Commercial =
Services</FONT>
<BR><FONT SIZE=3D2>=3D> > 207-828-7133</FONT>
<BR><FONT SIZE=3D2>=3D> > Fax: 207-756-6990</FONT>
<BR><FONT SIZE=3D2>=3D> > sbeaudette@banknorth.com</FONT>
<BR><FONT SIZE=3D2>=3D> ></FONT>
<BR><FONT SIZE=3D2>=3D> ></FONT>
<BR><FONT SIZE=3D2>=3D> </FONT>
<BR><FONT SIZE=3D2>=3D> </FONT>
<BR><FONT SIZE=3D2>=3D> =
_______________________________________________</FONT>
<BR><FONT SIZE=3D2>=3D> Zope maillist - =
Zope@zope.org</FONT>
<BR><FONT SIZE=3D2>=3D> <A =
HREF=3D"http://lists.zope.org/mailman/listinfo/zope" =
TARGET=3D"_blank">http://lists.zope.org/mailman/listinfo/zope</A></FONT>=
<BR><FONT SIZE=3D2>=3D> ** No cross posts or HTML =
encoding! **</FONT>
<BR><FONT SIZE=3D2>=3D> (Related lists - </FONT>
<BR><FONT SIZE=3D2>=3D> <A =
HREF=3D"http://lists.zope.org/mailman/listinfo/zope-announce" =
TARGET=3D"_blank">http://lists.zope.org/mailman/listinfo/zope-announce</=
A></FONT>
<BR><FONT SIZE=3D2>=3D> <A =
HREF=3D"http://lists.zope.org/mailman/listinfo/zope-dev" =
TARGET=3D"_blank">http://lists.zope.org/mailman/listinfo/zope-dev</A> =
)</FONT>
<BR><FONT SIZE=3D2>=3D> </FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C11629.3A2862C0--