I have followed the example, but still unable to get anything on the brower.<div><br></div><div>result_set is a set that contains an object called &quot;triples&quot;, each triple has three instance variable, &#39;subject&#39;, &#39;predictor&#39; and &#39;object&#39;.  I have accessing and modifier method for each instances.</div>
<div><br></div><div>Here is what I have for renderResult: html:</div><div><br></div><div><div>result_array := result_set asArray.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>rows := result_array.</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>columns := OrderedCollection new</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>add: (WAReportColumn selector: #subject title: &#39;Subject&#39;);</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>add: (WAReportColumn selector: #predicate title: &#39;Predictor&#39;);</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>add: (WAReportColumn selector: #object title: &#39;Object&#39;).</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>report := WATableReport new rows: rows; columns: columns.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>html heading level3; with:&#39;My Table&#39;.</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>html render: report.</div><div><br></div>I don&#39;t get what the &#39;youself&#39; in the example means, it gives me error regardless has it or not.</div>
<div><br></div><div>In addition, how to integrate WABatchedList with WABatchedTable?  I have following code for for BatchedList, but nothing is displayed either.</div><div>result_array := result_set asArray.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>batchedlist := WABatchedList new.</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>batchedlist items: result_array.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>batchedlist batchSize: 10.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>batchedlist renderContentOn: html. </div>
<div><br><div class="gmail_quote">On Wed, Aug 3, 2011 at 12:33 PM, Paul DeBruicker <span dir="ltr">&lt;<a href="mailto:pdebruic@gmail.com">pdebruic@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;">
a detailed guide to tables see:<br>
<br>
<a href="http://www.shaffer-consulting.com/david/Seaside/WATableReport/index.html" target="_blank">http://www.shaffer-consulting.<u></u>com/david/Seaside/<u></u>WATableReport/index.html</a><br>
<br>
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<br>
<br>
renderContentOn: html<br>
html heading level3; with:&#39;My Table&#39;.<br>
html render: table.<div><div></div><div class="h5"><br>
<br>
<br>
<br>
<br>
On 08/03/2011 01:19 PM, Cong Tan wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5">
I tried to use WABatchedList and WATableReport to display a Set from<br>
my query engine, but failed to find any code examples online.  Can<br>
anyone providing me a code-snap of how to display them in renderContentOn?<br>
<br>
Thanks<br>
<br>
<br></div></div><div class="im">
______________________________<u></u>_________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.<u></u>squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.<u></u>org/cgi-bin/mailman/listinfo/<u></u>seaside</a><br>
</div></blockquote><div><div></div><div class="h5">
<br>
______________________________<u></u>_________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.<u></u>squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.<u></u>org/cgi-bin/mailman/listinfo/<u></u>seaside</a><br>
</div></div></blockquote></div><br></div>