Right, what I was trying to say is to copy how table.html works but omit the
PageDisplayed component all together:
<span jwcid="tableView">
<table jwcid="tableElement">
<tr><span jwcid="tableColumns"/></tr>
<tr jwcid="tableRows"><td jwcid="tableValues"/></tr>
</table>
</span>
If you do things this way you also have more flexibility on how things are
displayed. Or you can trick Table by making it think you got 0 rows or
something :P
----- Original Message -----
From: "Mircea Militaru" <[EMAIL PROTECTED]>
To: "Tapestry users" <[email protected]>
Sent: Tuesday, February 21, 2006 11:58 PM
Subject: Re: contrib:Table pages
Thanks for you quick response.
The TablePages has only one parameter called pagesDisplayed which is used
just to set the number of pages displayed. When this set to 0 the current
page number is displayed with link for first/previous/next/last page.
I also looked in Table to see when the pages are displayed and the only
condition is pageCount > 0.
Table is just a wrapper for TableView, TablePages, TableColumns,
TableValues
So you can use all those components and skip using TablePages so the page
indexes don't display.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]