[Zope] manage_addZSQLMethod
dorian santner
dsantner@datasolutions.at
Tue, 19 Mar 2002 16:22:15 +0100
Hi,
i can not manage to add a ZSQLMethod.
I tried to change a Codesnifflet i found (which works fine):
<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('item_body','mybody')">
<dtml-call "manage_addDTMLMethod(id=Autoid,title=item_title,file=item_body)">
to :
<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)">
but i cant find why it doesn't work?!
Thanx Dorian