You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Mircea Militaru <mi...@netrom.ro> on 2006/02/22 08:22:58 UTC
contrib:Table pages
Hi all,
Is there a way to easily disable for the contrib:Table component the
page links that automatically added? We already did a small modification
in this component by adding a new parameter but we would like to know if
there is a more easier way.
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: contrib:Table pages
Posted by Daniel Lydiard <dl...@hotmail.com>.
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" <mi...@netrom.ro>
To: "Tapestry users" <ta...@jakarta.apache.org>
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: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: contrib:Table pages
Posted by Mircea Militaru <mi...@netrom.ro>.
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: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: contrib:Table pages
Posted by Daniel Lydiard <dl...@hotmail.com>.
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.
----- Original Message -----
From: "Mircea Militaru" <mi...@netrom.ro>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Tuesday, February 21, 2006 11:22 PM
Subject: contrib:Table pages
> Hi all,
>
> Is there a way to easily disable for the contrib:Table component the page
> links that automatically added? We already did a small modification in
> this component by adding a new parameter but we would like to know if
> there is a more easier way.
>
> Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org