Adding a page size selector in the pagination bar
-------------------------------------------------
Key: OFBIZ-3083
URL: https://issues.apache.org/jira/browse/OFBIZ-3083
Project: OFBiz
Issue Type: New Feature
Components: framework
Reporter: Bruno Busco
Priority: Minor
Attachments: OFBIZ-3083 viewSizeSelector.patch
I find usefull to let the user change, on the ui, the actual number of elements
contained in a page.
This can be usefull, for example, when there are 21 elements selected in a
query, the user want to print them, and the page size is 20. In this case the
user must print two pages.
Having this feature, the user can select 30 as page size, and have all elements
in one page.
In the attached patch there is a first try I am working on.
This seens to work (does not support yet ajax and i18n) but I would like to
have the size selector shown even if all elements fit in one page so that the
user can select a page size with less elements.
Actually the page size selector is rendered with the prevNext bar. A solution
that I was thinking on is to render the prevNext even if it would not be
necessary (one page list) with all buttons disabled.
What do you think about?
Thank you,
Bruno
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.