[Zope] Use of the :records variable type and ZSQL methods

Rik Hoekstra rik.hoekstra@inghist.nl
Mon, 25 Sep 2000 09:21:27 +0200


> 
> Error Type: Bad Request
> Error Value: ['Field1', 'Field2']
> 
> Here is the code I used and sqlTest is the ZSQL Method that just inserts the
> two fields into a test DB:
> 
> <dtml-in testlist>
> <dtml-call sqlTest>
> </dtml-in>
> 
> What am I doing wrong?
> 

you'll have to feed a named argument to your Zsql method (that is in its
definition). In this case that would be testlist. Then it should work as
expected

hth

Rik