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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to