[Seaside] WABatchedList\WATableReport example code-snap for Set

Paul DeBruicker pdebruic at gmail.com
Wed Aug 3 17:33:58 UTC 2011


a detailed guide to tables see:

http://www.shaffer-consulting.com/david/Seaside/WATableReport/index.html

but basically in your component initialise table in an inst var, add it 
to the #children, and add the columns then set your Set as the rows. 
then in the renderContentOn: method do something like

renderContentOn: html
html heading level3; with:'My Table'.
html render: table.




On 08/03/2011 01:19 PM, Cong Tan wrote:
> I tried to use WABatchedList and WATableReport to display a Set from
> my query engine, but failed to find any code examples online.  Can
> anyone providing me a code-snap of how to display them in renderContentOn?
>
> Thanks
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list