On 1/16/06, Mike Kent <[EMAIL PROTECTED]> wrote:
> myTable = Table(\
>     header=TableHeader(\
>         rows=[\
>             TableRow(\
>                 cells=[\
>                     TableCell(\
>                         widgets=[Text("Column 1 Label")]\
>                     ),\
>                     TableCell(\
>                         widgets=[Text("Column 2 Label")]\
>                     )\
>                 ]\
>             )\
>         ]\
>     ),
>     bodies=[\
>         TableBody(\
>             rows=[\
>                 TableRow(\
>                     cells=[\
>                         TableCell(\
>                             widgets=[Text("Column 1 Data")]\
>                         ),\
>                         TableCell(\
>                             widgets=[Text("Column 2 Data")]\
>                         )\
>                     ]\
>                 )\
>             ]\
>         )\
>     ],\
>     attrs=dict(cellpadding="4")\
> )

Hmm.... is it me, or does that remind people of STAN (or formencode's
HTML package?)

Kevin

Reply via email to