[ 
http://jira.codehaus.org/browse/DISPL-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_106732
 ] 

karthik commented on DISPL-213:
-------------------------------

When going through a list of 92items with 10rows per page the header shows only 
the page numbers up to 9(instead of 10). Using the "next" functionality you can 
go to the last page, but then no "current page" is displayed.if i am using 
Tomcat 5.5.23 it works correctly but web logic 9.0 the same problem still 
exists.

> Page Listing Incorrect
> ----------------------
>
>                 Key: DISPL-213
>                 URL: http://jira.codehaus.org/browse/DISPL-213
>             Project: DisplayTag
>          Issue Type: Bug
>          Components: Paging/Sorting
>    Affects Versions: 1.0
>            Reporter: Peter Luttrell
>            Priority: Critical
>             Fix For: 1.1
>
>
> Depending on the number of results for which DisplayTag is paginating, the 
> last page is often NOT displayed.
> For example if you're paginating 110 results in pages of 10 you should get 11 
> pages, but only 10 show up. You can get to the 11th page by hitting last - 
> it's just not showing up in the list of pages. Another example is 220 
> paginated by 20.
> I have modified example-paging.jsp to show the problem.
> <%@ include file="inc/header.jsp" %>
> <% Object foo = request.getAttribute( "test" );
>    if( foo == null ) {
>       request.setAttribute( "test", new TestList(110, false) );
>    }
> %>
> <h2>Here's a test of 110 in pages of 10</h2>
> <display:table name="requestScope.test" pagesize="10">
>       <display:column property="id" title="ID" />
>       <display:column property="name" />
>       <display:column property="email" />
>       <display:column property="status" />
> </display:table>
> <%@ include file="inc/footer.jsp" %>

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

Reply via email to