[ 
https://issues.apache.org/jira/browse/OFBIZ-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770441#action_12770441
 ] 

Bilgin Ibryam commented on OFBIZ-3083:
--------------------------------------

Bruno, this is a great addition. Thanks!

I did a quick UI test with you patch and faced these issues:

1. When logged in to application with javascript disabled, the dropdown for 
page number selection is not rendered because it relies on javascrip. I think 
"Items per page" dropdown should not be rendered too.

2. I did my tests in accounting->find fixed asset screen. After the seach, if 
your FIRST actions is changing the items per page, the selection seems not 
working. But after that the next selections are working fine. Then I found that 
this bug exists even before applying your patch, ie the first click on 
paginator buttons (such as next, last, changing page number) doesn;t have any 
effect on the UI.

Bilgin
 

> 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, OFBIZ-3083 
> viewSizeSelector.patch, 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.

Reply via email to