[Zope] passing arguments from dtml methods to SQL methods
Jason Wong
jwong@digitalview.com.hk
Fri, 31 Mar 2000 14:37:46 +0800
> or you call your method with keyword args like
>
> <dtml-var "yourmethod(_.None, _, varname='somestringval')">
I'm trying to do something similar:
<dtml-in "_[qry_name](_.None, _, column='Model', table='Panels',
criteria='1=1')">
where qry_name is the *name* of the ZSQL-Method that I want to use. Thus if
qry_name
is 'Details_Query' I want the above to expand to:
<dtml-in Details_Query(_.None, _, column='Model', table='Panels',
criteria='1=1')>
BUT when I try to view it I get this error:
Error Type: Bad Request
Error Value: ['column', 'table', 'criteria']
What am I doing wrong?
thanks
-
Jason Wong