In the following example I expected 'dbConnection' to be instantiated as a child of 'foo', but it instead is instantiated as a sibling to 'foo'. Could someone please explain what mistake I'm making or how this process works?<br>
<br>
class myClass(mxmObjectManager.mxmObjectManager):<br>
'This is the doc string'<br>
<br>
meta_type='My New Class'<br>
<br>
def __init__(self, id='foo'):<br>
mxmObjectManager.mxmObjectManager.__init__(self, id)<br>
<br>
def manage_afterAdd(self, containter=None, content=None):<br>
self.manage_addZMySQLConnection(<br>
id='dbConnection', title = 'dbConnection',<br>
connection_string = configFile.DbConnString)<br>
<br>
<br>
Poor Yorick<br>
zope.org@pooryorick.com<br>