[Zope] Passing parameters through a DTML Document to a ZSQL Method

A J Wilson ajwilson@ezy.net.au
Sat, 4 Sep 1999 08:44:41 +1000


This is a multi-part message in MIME format.

------=_NextPart_000_0020_01BEF6B1.BAB1A080
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi=20

I have a DTML Document which is based on data obtained from an ZSQL =
Method.  The ZSQL Method has a number of parameters which can be passed =
from the DTML Document to the ZSQL Mehtod via the following

<!--#in expr=3D"qry_Transactions(WeekNumber=3D'9930')" size=3D50 =
start=3Dquery_start-->

This works fine for static values.  However, I would like the user to be =
able to specify parameters dynamically by either entering or selecting =
values on a DTML Document. How could I go about passing parameters from =
a DTML Document (the one in which the user selects or enters values) to =
the DTML Document based on the ZSQL Method which then passes those =
values as parameters to the ZSQL Method.

Regards
Austin Wilson

------=_NextPart_000_0020_01BEF6B1.BAB1A080
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have a DTML Document which is based =
on data=20
obtained from an ZSQL Method.&nbsp; The ZSQL Method has a number of =
parameters=20
which can be passed from the DTML Document to the ZSQL Mehtod via the=20
following</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;!--#in=20
expr=3D"qry_Transactions(WeekNumber=3D'9930')" size=3D50=20
start=3Dquery_start--&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This works fine for static =
values.&nbsp; However, I=20
would like the user to be able to specify parameters dynamically by =
either=20
entering&nbsp;or selecting values on a DTML Document.&nbsp;How could I =
go about=20
passing parameters from a DTML Document (the one in which the user =
selects or=20
enters values) to the DTML Document based on the ZSQL Method which then =
passes=20
those values as parameters to the ZSQL Method.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Regards</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Austin =
Wilson</FONT></DIV></BODY></HTML>

------=_NextPart_000_0020_01BEF6B1.BAB1A080--