[ http://jira.codehaus.org/browse/DISPL-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_113151 ]
Rob MacGrogan commented on DISPL-469: ------------------------------------- Well I don't know where my head was. I just tested this again and this worked fine. Please disregard my previous comment. > External Paging and reference number in header > ---------------------------------------------- > > Key: DISPL-469 > URL: http://jira.codehaus.org/browse/DISPL-469 > Project: DisplayTag > Issue Type: Bug > Components: Paging/Sorting > Affects Versions: 1.1 > Reporter: Benoit Delagarde > > When using the external paging, the number displayed in the header for the > "walk" in the list remain always the same, i.e. from the first to the size of > the list. > The header display look allway like this : "120 items found, displaying 1 to > 10." even if I'm in the third page for example. > But display tag can calculate the current number since we provide the current > page, the number of elements displayed per page and the total number of > element. > The problem seem to be located in SmartListHelper.getFirstIndexForPage(int > pageNumber) witch alway return 0 if we use partial list. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel