[Zope] Passing arguments to a Z SQL method
Thierry FLORAC
thierry.florac@onf.fr
Fri, 28 Feb 2003 09:23:19 +0100
On Thursday 27 February 2003 20:22, Asad Habib wrote:
> Can arguments to a Z SQL method be passed directly in
> a function call(i.e. dtml-call), or can you only pass
> them through the REQUEST object. Any help would be
> appreciated.
Arguments to ZSQL methods can be passed throught the REQUEST object, but also
directly very easilly :
<dtml-in "mySQLMethod(param1='foo',param2='bar')">
...
The only problem is, I think, that the REQUEST object is ignored when
arguments are passed in the method call...
Thierry