[ http://jira.codehaus.org/browse/DISPL-211?page=all ]
     
fabrizio giustina closed DISPL-211:
-----------------------------------

    Resolution: Duplicate

this is the same as DISPL-213
fixed in CVS for 1.1

> selected Page number is not displayed in the paging banner 
> -----------------------------------------------------------
>
>          Key: DISPL-211
>          URL: http://jira.codehaus.org/browse/DISPL-211
>      Project: DisplayTag
>         Type: Bug
>   Components: Paging/Sorting
>     Versions: 1.0
>     Reporter: rajesh gopal
>      Fix For: 1.1
>  Attachments: example-problem.jsp
>
>
> The Selected page number is not displayed in the paging banner. 
> This happens when the selected page is the last page. This is due to the bug 
> in the getPageNavigationBar() in SmartListHelper 
>  when calculating the startPage instead of
> startPage= Math.max(Math.min(currentPage - groupSize / 2, pageCount - 
> groupSize), 1);
>  it should be 
>  startPage=Math.max(Math.min(currentPage - groupSize / 2, pageCount - 
> groupSize+1), 1);
> check the attached jsp and click the last and the problem will be replicated

-- 
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



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to