[Zope] Formulator - TALES - Z SQL Method

Dieter Maurer dieter@handshake.de
Fri, 11 Jul 2003 20:25:11 +0200


David Washburn wrote at 2003-7-10 12:20 -0400:
 > I am new to Formulator and I would like to create a pulldown list that is
 > built from data in my relational database.
 > 
 > I have a working ZSQLMethod that returns results in 2 columns called
 > "ListCompanyStaff".
 > 
 > I created a Formulator form that has a multilist widget call
 > "company_contact_id" and I would like to overide the value list using the
 > ZSQLMethod.
 > 
 > The example in the help file shows a Python example and I played with that
 > and it worked.
 > 
 > Does anyone have an example of the exact "TALES" syntax that I should put in
 > the "items" property of on the TALES tab?

I am not sure, but "python: here.yourZSQLMethod(arg1=v1,...,argn=vn)"
might be near.


Dieter