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> </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
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer