From sqlos at steele.com Mon Oct 2 23:53:48 2006 From: sqlos at steele.com (Jeff Steele) Date: Mon, 2 Oct 2006 17:53:48 -0400 (EDT) Subject: [Z3-sqlos] Multiple Join Edit Form Message-ID: <51611.130.14.71.45.1159826028.squirrel@server.gdn.org> Hello: I have two tables joined by a multiple join. Each table has an edit form that allows me to modify data correctly. However, the related fields don't show up correctly in the edit forms. For instance, I have a field like this for the join column: participant = ForeignKey('Participant') In the edit form for this class, I get this: In the schema for this class, I this field is a TextLine. Is there a better field type? Or is there a more appropriate way to get useful information to display rather than the object reference? This is with sqlos 0.2.1 and Zope 3.3 Thanks much! From kobold at kobold.it Tue Oct 3 10:12:07 2006 From: kobold at kobold.it (Fabio Tranchitella) Date: Tue, 03 Oct 2006 10:12:07 +0200 Subject: [Z3-sqlos] Multiple Join Edit Form In-Reply-To: <51611.130.14.71.45.1159826028.squirrel@server.gdn.org> References: <51611.130.14.71.45.1159826028.squirrel@server.gdn.org> Message-ID: <1159863127.4386.3.camel@eszakisark.kobold.it> Il giorno lun, 02/10/2006 alle 17.53 -0400, Jeff Steele ha scritto: > Hello: > > I have two tables joined by a multiple join. Each table has an edit form > that allows me to modify data correctly. However, the related fields > don't show up correctly in the edit forms. For instance, I have a field > like this for the join column: > > participant = ForeignKey('Participant') > > In the edit form for this class, I get this: > > I think you should use a Chioce (or equivalent) field with an adapted sqloscontainer as vocabulary. Cheers, -- Fabio Tranchitella http://www.kobold.it Free Software Developer and Consultant http://www.tranchitella.it _____________________________________________________________________ 1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio firmata digitalmente Url : http://codespeak.net/pipermail/z3-sqlos/attachments/20061003/3eefcafa/attachment.pgp From jinty at web.de Tue Oct 24 22:24:14 2006 From: jinty at web.de (Brian Sutherland) Date: Tue, 24 Oct 2006 22:24:14 +0200 Subject: [Z3-sqlos] sqlos 0.3.0 released Message-ID: <20061024202414.GA19230@minipas.home> I'm pleased to announce the release of sqlos 0.3.0, which is compatible with Zope 3.3. Links to the tarballs can be found from the main page: http://codespeak.net/z3/sqlos/ This release provides the following new features: * A syncUpdateAll method which can be used to can be used to send all outstanding SQL to the database in mid-transaction. * the latest psycopg Z3 database adapter is now automatically recognised (No need to patch sqlos anymore). Also changed are: * Removal of deprecated code within sqlos. * Update to Zope 3.3 Also, I am retiring from actively maintaining sqlos. I do not use it anymore in any of my projects and am rapidly becoming out of practice with the code. I see from IRC and the mailing lists that sqlos has built up a modest user base. I am hopeful that that user base can continue to maintain sqlos and am making this release to help it along. -- Brian Sutherland