[Zope] manage_addZSQLMethod

Joel Burton joel@joelburton.com
Tue, 19 Mar 2002 12:33:22 -0500


> Hi,
>
> <dtml-call "REQUEST.set('ts', ZopeTime())">
> <dtml-call "REQUEST.set('Autoid',_.str(_.int(ts)))">
> <dtml-call "REQUEST.set('item_title','mytitle')">
> <dtml-call "REQUEST.set('connection_id','myconnection')">
> <dtml-call "REQUEST.set('arg','personId')">
> <dtml-call "REQUEST.set('item_body','select * from somewhere')">
>
> <dtml-call
> "manage_addZSQLMethod(Autoid,item_title,connection_id,arg,item_body)">

******
Please post the exact error message you receive when you post a question.
Please don't just say "it doesn't work"
******

You want

<dtml-call
"manage_addProduct['ZSQLMethods'].manage_addZSQLMethod(Autoid,item_title,con
nection_id,arg,item_body)">

for the last line.