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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.