[Zope] Select List

Jim Sanford jsanford@atinucleus.com
Mon, 10 Jan 2000 11:00:00 -0600


tableselect = "select name from tables order by name"

<select name="tablelist" size =1>
<dtml-in tableselect>
<option value="<dtml-var table>"><dtml-var table></option>
</dtml-in>
</select>   

----- Original Message ----- 
From: Oai Luong <oluong@mitre.org>
To: <Zope@zope.org>
Sent: Monday, January 10, 2000 10:10 AM
Subject: [Zope] Select List


I have a table that lists all the tables that are in my database:
tables
_______
gistools
gisexperts
inforesources
vendors

I want to be able to put this in a selected options list box using the
queries returned by the sql method.  My sql method is called tables. 
Can someone tell me how this can be done? 

thanks


_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )