[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&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>=3D&gt; 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&gt; Behalf Of Bob</FONT>
<BR><FONT SIZE=3D2>=3D&gt; Campbell</FONT>
<BR><FONT SIZE=3D2>=3D&gt; Sent: Friday, 27 July 2001 9:03 AM</FONT>
<BR><FONT SIZE=3D2>=3D&gt; To: Zope@zope.org</FONT>
<BR><FONT SIZE=3D2>=3D&gt; Subject: [Zope] Automatically go to another =
page after query results?</FONT>
<BR><FONT SIZE=3D2>=3D&gt; </FONT>
<BR><FONT SIZE=3D2>=3D&gt; </FONT>
<BR><FONT SIZE=3D2>=3D&gt; Hello all,</FONT>
<BR><FONT SIZE=3D2>=3D&gt; Can anyone help Sheree, cause I certainly =
can't..., I'm </FONT>
<BR><FONT SIZE=3D2>=3D&gt; still chunking away</FONT>
<BR><FONT SIZE=3D2>=3D&gt; at the basics... Thanks!</FONT>
<BR><FONT SIZE=3D2>=3D&gt; </FONT>
<BR><FONT SIZE=3D2>=3D&gt; Here is the scenario....</FONT>
<BR><FONT SIZE=3D2>=3D&gt;&nbsp; (all of this is generated from a =
database)</FONT>
<BR><FONT SIZE=3D2>=3D&gt; </FONT>
<BR><FONT SIZE=3D2>=3D&gt; A user looks at the Officer info page and =
then clicks Modify </FONT>
<BR><FONT SIZE=3D2>=3D&gt; to change the</FONT>
<BR><FONT SIZE=3D2>=3D&gt; information. In the Modify page, once the =
user clicks </FONT>
<BR><FONT SIZE=3D2>=3D&gt; Submit, the update is</FONT>
<BR><FONT SIZE=3D2>=3D&gt; made and I then need to and send the user to =
back to the </FONT>
<BR><FONT SIZE=3D2>=3D&gt; Officer info page.</FONT>
<BR><FONT SIZE=3D2>=3D&gt; </FONT>
<BR><FONT SIZE=3D2>=3D&gt; I've been trying RESPONSE.redirect but =
cannot figure out </FONT>
<BR><FONT SIZE=3D2>=3D&gt; syntactically how</FONT>
<BR><FONT SIZE=3D2>=3D&gt; to pass the</FONT>
<BR><FONT SIZE=3D2>=3D&gt; parameters...</FONT>
<BR><FONT SIZE=3D2>=3D&gt; </FONT>
<BR><FONT SIZE=3D2>=3D&gt;&nbsp; =
RESPONSE.redirect('cltest?var1=3D&lt;dtml-var var1in&gt;')</FONT>
<BR><FONT SIZE=3D2>=3D&gt; </FONT>
<BR><FONT SIZE=3D2>=3D&gt;&nbsp; The above causes var1 to be equal to =
the actual text of </FONT>
<BR><FONT SIZE=3D2>=3D&gt; &lt;dtml-var var1in&gt;</FONT>
<BR><FONT SIZE=3D2>=3D&gt; </FONT>
<BR><FONT SIZE=3D2>=3D&gt;&nbsp; So what I need to do is... within a =
dtml method I want to </FONT>
<BR><FONT SIZE=3D2>=3D&gt; automatically go</FONT>
<BR><FONT SIZE=3D2>=3D&gt; to another page (need to</FONT>
<BR><FONT SIZE=3D2>=3D&gt;&nbsp; pass parameters as well) after certain =
steps are performed </FONT>
<BR><FONT SIZE=3D2>=3D&gt; such as an</FONT>
<BR><FONT SIZE=3D2>=3D&gt; update</FONT>
<BR><FONT SIZE=3D2>=3D&gt;&nbsp; query</FONT>
<BR><FONT SIZE=3D2>=3D&gt; </FONT>
<BR><FONT SIZE=3D2>=3D&gt;&nbsp; In Cold Fusion I was able to do this =
using the CFLOCATION tag.</FONT>
<BR><FONT SIZE=3D2>=3D&gt; </FONT>
<BR><FONT SIZE=3D2>=3D&gt;&nbsp; Hope someone can help!</FONT>
<BR><FONT SIZE=3D2>=3D&gt; </FONT>
<BR><FONT SIZE=3D2>=3D&gt;&nbsp; Sheree Beaudette, AVP</FONT>
<BR><FONT SIZE=3D2>=3D&gt; &gt; Applications Support Analyst</FONT>
<BR><FONT SIZE=3D2>=3D&gt; &gt; Banknorth Group, Commercial =
Services</FONT>
<BR><FONT SIZE=3D2>=3D&gt; &gt; 207-828-7133</FONT>
<BR><FONT SIZE=3D2>=3D&gt; &gt; Fax:&nbsp; 207-756-6990</FONT>
<BR><FONT SIZE=3D2>=3D&gt; &gt; sbeaudette@banknorth.com</FONT>
<BR><FONT SIZE=3D2>=3D&gt; &gt;</FONT>
<BR><FONT SIZE=3D2>=3D&gt; &gt;</FONT>
<BR><FONT SIZE=3D2>=3D&gt; </FONT>
<BR><FONT SIZE=3D2>=3D&gt; </FONT>
<BR><FONT SIZE=3D2>=3D&gt; =
_______________________________________________</FONT>
<BR><FONT SIZE=3D2>=3D&gt; Zope maillist&nbsp; -&nbsp; =
Zope@zope.org</FONT>
<BR><FONT SIZE=3D2>=3D&gt; <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&gt; **&nbsp;&nbsp; No cross posts or HTML =
encoding!&nbsp; **</FONT>
<BR><FONT SIZE=3D2>=3D&gt; (Related lists - </FONT>
<BR><FONT SIZE=3D2>=3D&gt;&nbsp; <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&gt;&nbsp; <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&gt; </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C11629.3A2862C0--