[ 
http://jira.codehaus.org/browse/DISPL-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=173875#action_173875
 ] 

Tim Stavenger commented on DISPL-469:
-------------------------------------

I believe this is a duplicate of DISPL-304 
(http://jira.codehaus.org/browse/DISPL-304).

I upgraded to version 1.2 and this problem no longer happened.

I would recommend marking this issue as a duplicate of DISPL-304 and close it.

> 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
>         Attachments: SmartListHelper.java
>
>
> 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

        

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to