RES: [Zope] Help needed in desiging the page.
Jose Henrique dos Reis
jhreis at senado.gov.br
Tue Jun 15 13:14:17 EDT 2004
Parimal
If you're using page templates you can do this way:
<table tal:define="results python: here.ResultSql(Atte=finalString)" >
<tr tal:repeat="item results">
<td tal:content="item/column_name1">data</td>
<td tal:content="item/column_name2">data</td>
</tr>
</table>
where column_nameX are the columns of your db table.
José Henrique.
-----Mensagem original-----
De: Parimal [mailto:parimalk at cdacindia.com]
Enviada em: terça-feira, 15 de junho de 2004 03:14
Para: Zope user list
Assunto: [Zope] Help needed in desiging the page.
Dear All ,
In my index_html page i am using post method and retrieving information
out from mysql in the form of dictionary
The return statement is "return
container.ResultSql(Atte=finalString).dictionaries()"
Now i need to design the out put which is in dictionary in table format.
can any one help me to do the formating in the form of table
Thanking you
Parimal
_______________________________________________
Zope maillist - Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
More information about the Zope
mailing list