On Wed, May 14, 2008 at 05:49:17PM -0500, Jim Steil wrote: > Oleg Broytmann wrote: > > How did you install the listener? Did you call > >events.listen(addListener, Contact, RowCreateSignal) > > > Yes
Then inside def addListener(newValues, postFunctions, tableName='', **kw):... newValues is a dict of values you want to inspect, and kw['sender'] is the class 'Contact', so the table name is really kw['sender'].sqlmeta.table. PS. I understand events much better now. Thank you! ;) Oleg. -- Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss