[Zope] embed an SQL method inside a <dtml-in> tag

Andrew Kenneth Milton akm@mail.theinternet.com.au
Tue, 27 Jun 2000 12:05:56 +1000 (EST)


+----[ Dieter Maurer ]---------------------------------------------
| Andrew Kenneth Milton writes:
|  > 
|  > So...
|  > <dtml-in "bcd_statement(a=a, b=b, c=c)">
| Alternatively, you could place the values from "abc_sql_statement"
| into the "REQUEST" object:
| 
| 	<dtml-call "REQUEST.set(a=a)">
| 	....

Except you get one line per variable you want to set... It's ok if you've
only got one variable and you want to use it outside the loop, setting
four or five would get messy I think.

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd          |  F:+61 7 3870 4477   | 
ACN: 082 081 472                     |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068    |akm@theinternet.com.au|