Help with Table component

Luis Neves <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
Hello all,

I've looked at the examples of use of the Table component but I still can't 
understand how to use it.
What I want to do it's simple (at least I think it's simple).
I have an array of Items (Item[]) that I would like to page like this:

********************************************************************

<table border="1" width="250">
 <tr>
  <th>Header A</th>
  <th>Header B</th>
 </tr>
 <tr>
  <td>Item A - 1</td>
  <td><a href="#linkA">Item A - 2</a></td>
 </tr>
 <tr>
  <td>Item B - 1</td>
  <td><a href="#linkB">Item B - 2</a></td>
 </tr>
 <tr>
  <td>Item C - 1</td>
  <td><a href="#linkC">Item C - 2</a></td>
 </tr>
 <tr>
  <td colspan="2">
   <table border="0" width="100%">
    <tr>
      <td align="left"><a href="#linkPrevPage">Prev</a></td>
      <td>&nbsp;</td>
      <td align="right"><a href="#linkPrevPage">Next</a></td>
    </tr>
   </table>
  </td>
 </tr>
</table>

********************************************************************

From the examples it's no clear to me what is the TableModel and the 
ColumnModel and the Session Manager and how do I juggle with them in order do 
accomplish what I want.
Any help is appreciated.
Thanks,

Luis Neves


-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.