Yes. I have several other components composed in renderContentOn:  I actually followed the example and have my result displayed, but i am interesting to know WABatchedList and WATableReport works together.  TableReport shows a table, but BatchedList controls what to show?  I am confused about this part.<br>
<br><div class="gmail_quote">On Wed, Aug 3, 2011 at 4:07 PM, Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Did you follow the principles of how to compose components?<br>
<br>
   <a href="http://book.seaside.st/book/components/embedding/children" target="_blank">http://book.seaside.st/book/components/embedding/children</a><br>
<font color="#888888"><br>
Lukas<br>
</font><div><div></div><div class="h5"><br>
On 3 August 2011 22:55, Cong Tan &lt;<a href="mailto:congcongtan@gmail.com">congcongtan@gmail.com</a>&gt; wrote:<br>
&gt; I have followed the example, but still unable to get anything on the brower.<br>
&gt; result_set is a set that contains an object called &quot;triples&quot;, each triple<br>
&gt; has three instance variable, &#39;subject&#39;, &#39;predictor&#39; and &#39;object&#39;.  I have<br>
&gt; accessing and modifier method for each instances.<br>
&gt; Here is what I have for renderResult: html:<br>
&gt; result_array := result_set asArray.<br>
&gt; rows := result_array.<br>
&gt; columns := OrderedCollection new<br>
&gt; add: (WAReportColumn selector: #subject title: &#39;Subject&#39;);<br>
&gt; add: (WAReportColumn selector: #predicate title: &#39;Predictor&#39;);<br>
&gt; add: (WAReportColumn selector: #object title: &#39;Object&#39;).<br>
&gt; report := WATableReport new rows: rows; columns: columns.<br>
&gt; html heading level3; with:&#39;My Table&#39;.<br>
&gt; html render: report.<br>
&gt; I don&#39;t get what the &#39;youself&#39; in the example means, it gives me error<br>
&gt; regardless has it or not.<br>
&gt; In addition, how to integrate WABatchedList with WABatchedTable?  I have<br>
&gt; following code for for BatchedList, but nothing is displayed either.<br>
&gt; result_array := result_set asArray.<br>
&gt; batchedlist := WABatchedList new.<br>
&gt; batchedlist items: result_array.<br>
&gt; batchedlist batchSize: 10.<br>
&gt; batchedlist renderContentOn: html.<br>
&gt; On Wed, Aug 3, 2011 at 12:33 PM, Paul DeBruicker &lt;<a href="mailto:pdebruic@gmail.com">pdebruic@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; a detailed guide to tables see:<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://www.shaffer-consulting.com/david/Seaside/WATableReport/index.html" target="_blank">http://www.shaffer-consulting.com/david/Seaside/WATableReport/index.html</a><br>
&gt;&gt;<br>
&gt;&gt; but basically in your component initialise table in an inst var, add it to<br>
&gt;&gt; the #children, and add the columns then set your Set as the rows. then in<br>
&gt;&gt; the renderContentOn: method do something like<br>
&gt;&gt;<br>
&gt;&gt; renderContentOn: html<br>
&gt;&gt; html heading level3; with:&#39;My Table&#39;.<br>
&gt;&gt; html render: table.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 08/03/2011 01:19 PM, Cong Tan wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I tried to use WABatchedList and WATableReport to display a Set from<br>
&gt;&gt;&gt; my query engine, but failed to find any code examples online.  Can<br>
&gt;&gt;&gt; anyone providing me a code-snap of how to display them in<br>
&gt;&gt;&gt; renderContentOn?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Thanks<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; seaside mailing list<br>
&gt;&gt;&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt;&gt;&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; seaside mailing list<br>
&gt;&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt;&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; seaside mailing list<br>
&gt; <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
&gt; <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><div class="im">--<br>
Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">www.lukas-renggli.ch</a><br>
_______________________________________________<br>
</div><div><div></div><div class="h5">seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br>