[Zope] manage_afterAdd
Chris Withers
lists at simplistix.co.uk
Wed Mar 24 08:13:25 EST 2004
Poor Yorick wrote:
> def manage_afterAdd(self, containter=None, content=None):
> self.manage_addZMySQLConnection(
> id='dbConnection', title = 'dbConnection',
> connection_string = configFile.DbConnString)
The above isn't correct ;-)
def manage_afterAdd(self, containter=None, content=None):
self.manage_addProduct['MySQLDA'].manage_addZMySQLConnection(
id='dbConnection', title = 'dbConnection',
connection_string = configFile.DbConnString)
...should do what you want.
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope
mailing list