[Zope] present data from db (multiple tables) using zpt
Exteam
exteam6@yahoo.co.in
Fri, 4 Jul 2003 15:57:00 +0100 (BST)
--0-815397869-1057330620=:78784
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Hi,
we are having a problem while presentation of values retreived from multi tables(from mysql) in ZPT we use zsql to retreive from each individual table. But while presentation part comes, we are unable to position the values from multi table in a single row .
As it is apparant that a tr can repeat only a single table at a time by the tal functions.
what we had tried is
<tr repeat='item python:container.zsqlmethodname() >
We want the Zpt to repeat more than one table in a single row.
So that we could retreive the requisite values from the tables and present it.
How can it be resolved.
Thanks
exteam
SMS using the Yahoo! Messenger;Download latest version.
--0-815397869-1057330620=:78784
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<DIV>Hi,</DIV>
<DIV>we are having a problem while presentation of values retreived from multi tables(from mysql) in ZPT we use zsql to retreive from each individual table. But while presentation part comes, we are unable to position the values from multi table in a single row .</DIV>
<DIV>As it is apparant that a tr can repeat only a single table at a time by the tal functions.</DIV>
<DIV> </DIV>
<DIV>what we had tried is </DIV>
<DIV><tr repeat='item python:container.zsqlmethodname() ></DIV>
<DIV>We want the Zpt to repeat more than one table in a single row. </DIV>
<DIV>So that we could retreive the requisite values from the tables and present it.</DIV>
<DIV> </DIV>
<DIV>How can it be resolved.</DIV>
<DIV>Thanks</DIV>
<DIV>exteam</DIV>
<DIV> </DIV><p><font face=arial size=-1><img src="http://in.yimg.com/i/in/mobile/pctomob.gif" width=28 height=22 border=0 alt="Yahoo! India Mobile"></a>
<a href="http://in.mobile.yahoo.com/new/pc/" target="_blank"><b>SMS</b></a> using the Yahoo!
<a href="http://in.mobile.yahoo.com/new/pc/"><b>Messenger</a>;</b></font>
<font face=arial size=-1><b>
<a href="http://in.messenger.yahoo.com/">Download</b></a> latest version.</font>
--0-815397869-1057330620=:78784--