[ZPT] zpt python and tables

Fred Drake fdrake at gmail.com
Tue Aug 3 09:20:26 EDT 2004


On Tue, 03 Aug 2004 12:55:27 +0100, Robert Hibberdine
<bob.hibberdine at ntlworld.com> wrote:
> <table>
> <tr tal:repeat="myrow python:here.myscript()" tal:content="myrow"">row</tr>
> </table>

You can get the effect you want by changing the tal:content attribute
from "myrow" to "structure myrow".  I'm guessing the extra
double-quote was a typo in your email and not in your template.  ;-)


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
Zope Corporation


More information about the ZPT mailing list