-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andrew Veitch wrote: > > On 30 Mar 2005, at 14:02, Chris Withers wrote: > >> >>> Also it would be good to allow a connection hook to be specified so >>> that FSZSQL methods would have the full functionality of through the >>> web ZSQL methods. >> >> >> What's a connection hook when it's at home? > > > I've got many MailManager instances that I want to connect to different > databases. Normally you have to specify the database connection id in > the zsql method, but the connection hook lets you define a method which > returns a connection id. So each of my instances can define a method > 'getConnectionId' which returns the appropriate connection id for that > instance.
+1 on folding in the patch Andrew has uploaded. Tres. - -- =============================================================== Tres Seaver [EMAIL PROTECTED] Zope Corporation "Zope Dealers" http://www.zope.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCTBAVGqWXf00rNCgRAuFoAKCSI22bwYe9jKP1SR+1IZEkdioPRgCcCw8t tgmtuySedsU5dSZbQz8GbK4= =VQCA -----END PGP SIGNATURE----- _______________________________________________ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests