tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Kemnade (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TAP5-1144) Would like a simple way to set GridPager range
Date Fri, 30 May 2014 11:35:04 GMT

     [ 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

View raw message