[Zope] product development and zsql

patrick sullivan paddie.rm at yahoo.com
Mon Feb 23 16:10:19 EST 2004


hello:

so i have a very basic product.  i would like after the __init__ is
called and the object is created is to write its contents, id, title
etc etc to a mysql database.  

lo-and-behold, there exists manage_addAfter(self, container=None,
context=None).  But, now the question becomes, how do i call a
zsqlmethod from my method inside of my product?  do i import ZSQLMethod
and create one on the fly?  Can one be sitting somewhere in my Product
directory?

help?

thanks,

patrick sullivan

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com



More information about the Zope mailing list