You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2015/01/12 09:10:54 UTC
[jira] [Closed] (TAP5-1144) Would like a simple way to set
GridPager range
[ https://issues.apache.org/jira/browse/TAP5-1144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Kemnade closed TAP5-1144.
--------------------------------
Resolution: Invalid
We assume this is no longer relevant and therefore close it.
If you still have this issue in a recent Tapestry version (such as 5.3.8 or the latest 5.4 preview release), feel free to provide the necessary information and reopen.
> Would like a simple way to set GridPager range
> ----------------------------------------------
>
> Key: TAP5-1144
> URL: https://issues.apache.org/jira/browse/TAP5-1144
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Reporter: Geoff Callender
>
> There are times when the default range of GridPager (5) produces too many boxes (up to 11) for the available display area.
> For example, there's no way this page can handle 11 boxes (and the ellipsis): http://jumpstart.doublenegative.com.au/jumpstart/examples/onepagecrud
> Maybe there's already an easy way to do this, but I'm thinking it would be good to allow the following:
> @InjectComponent
> private Grid _list;
> void setupRender() {
> _list.getGridPager().setRange(MY_RANGE);
> }
> However, getGridPager() and setRange() do not exist.
> Even better, provide a parameter on GridPager that specifies the maximum number of boxes?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)