[Zope] Solution for Problem with container in External Method

hawelek_tlen hawelek at tlen.pl
Tue Jun 22 13:16:45 EDT 2004


Ok, I found a solution,
I can write it in External Method in this way:

def onAddExtMethod(self):
 connection=self.restrictedTraverse('MySqlCon')
 connection.manage_open_connection()

regards,

Adam



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20040622/d8e3c293/attachment.html


More information about the Zope mailing list