<DIV>Hi *, I've searched a lot but actually didn't find anything useful to solve my problem, and probably I haven't really understood how Zope works ... :)</DIV>
<DIV>I'm developing a filesystem product and I need to display a zpt form where I display some results from a query.</DIV>
<DIV>I'm able to query the DB, and I'm able to display an empty zpt form, qhat I don't understand is how to stick the two things together.</DIV>
<DIV>&nbsp;</DIV>
<DIV>This is what I have:</DIV>
<DIV>&nbsp;</DIV>
<DIV>class InstitutionalReport (Item, Implicit, Persistent, RoleManager, Folder):<BR>&nbsp; """ Base class for InstitutionalReport. """</DIV>
<DIV>&nbsp; meta_type = "Institutional Report"</DIV>
<DIV>&nbsp; manage_options = (<BR>&nbsp;&nbsp;&nbsp; {'label' : 'View', 'action' : 'index_html' },<BR>&nbsp; )</DIV>
<DIV>&nbsp; def __init__ (self, id, conn_id):<BR>&nbsp;&nbsp;&nbsp; """ initializer """<BR>&nbsp;&nbsp;&nbsp; self.id = id<BR>&nbsp;&nbsp;&nbsp; self.conn_id = conn_id<BR>&nbsp;&nbsp;&nbsp; self.sqlGetReferenceDate = SQL ('slGetReferenceDate', '', conn_id, '', _sqlGetReferenceDate)<BR>&nbsp;&nbsp;&nbsp; #Folder.manage_addPageTemplate (self, 'index_html', file = self.def_index_html, REQUEST = None)</DIV>
<DIV>&nbsp; index_html = PageTemplateFile ("zpt/index_html.pt", globals ())</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>I want to cycle through the query result with ZPT and populate a select.</DIV>
<DIV>&nbsp;</DIV>
<DIV>TIA,</DIV>
<DIV>&nbsp; ngw</DIV><p>
                <hr size=1><font face="Arial" size="2"><a href="http://us.rd.yahoo.com/mail_it/taglines/*http://it.beta.messenger.yahoo.com"><b>Yahoo! Messenger</b></a>: chiamate gratuite in tutto il mondo </font>