[ZPT] beginner question

Clemens Robbenhaar robbenhaar at espresto.com
Tue Apr 22 14:52:32 EDT 2003


Hi Uwe,

 > Hi, 
 > 
 > I have a flat structure 
 > 
 >      [ {'name':'uwe' }, {'name':'peter'}, {'name': 'jon' }, .... ]
 > 
 > and I want to render it to a two column table
 > 
 >    <table>
 >    <tr><td>uwe</td><td>peter</td></tr>
 >    <tr><td>jon</td><td>.....</td></tr>
 >    ...
 >    </table>
 > 
 > Is there a way to do this in ZPT alone, or do I have
 > to modify my data ?
 > I looked at the archives but found no solution.

 There is a thread about this at zope at zope.org, starting with:

   http://mail.zope.org/pipermail/zope/2002-September/122695.html

 One possible solution proposed there:

   http://www.zopelabs.com/cookbook/998066576

Cheers,
Clemens



More information about the ZPT mailing list