[EMAIL PROTECTED] writes:
 > Any one try to call a ZSQL Method without using a form ? I had tried to do
 > this for a lot of times, and this is what I got :
 > 
 > 
 >              Zope Error
 > 
 >              Zope has encountered an error while publishing this resource.
 > 
 >              Error Type: AttributeError
 >              Error Value: 'string' object has no attribute 'get'
Z SQL Methods require the first *positional* argument to
be a mapping object.
In your case, it got a string instead.

You should either use a Z SQL Method with a single
mapping object parameter or (exclusive) with keyword parameters.


Dieter

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to