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 2014/05/30 13:35:04 UTC

[jira] [Updated] (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 updated TAP5-1144:
---------------------------------


This issue has been last updated about 1.5 years ago and has no information about the versions that are affected. That makes it hard to determine whether it is still relevant.
If the issue still persists with the current stable version (5.3.7) or the most recent development preview of Tapestry (5.4-beta-6), both of which are available from Maven Central, please update it as soon as possible, adding the respective version(s) to the issue's "Affects Version/s".

> 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.2#6252)