[Zope] Passing parameters through a DTML Document to a ZSQL M
ethod
Rob Page
rob.page@digicool.com
Fri, 3 Sep 1999 19:12:40 -0400
Austin:
> -----Original Message-----
> From: A J Wilson [mailto:ajwilson@ezy.net.au]
> Sent: Friday, September 03, 1999 6:45 PM
> To: zope@zope.org
> Subject: [Zope] Passing parameters through a DTML Document to a ZSQL
Method
>
>
> Hi
>
> 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="qry_Transactions(WeekNumber='9930')" size=50
start=query_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.
<!--#in expr="qry_Transactions(WeekNumber=some_form_variable)" size=50
start=query_start-->
where some_form_variable is some variable from the form :^)
Regards,
--Rob
P.S. - If I might make a suggestion to not post HTML mail to the list...
Some folks are using emacs and pine (while watching B&W TV) to read
email and HTML email makes 'em cranky...
P.P.S. - Just kidding about the B&W TV thing... :^)