File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Having Problems with Data Table and Pager component in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Having Problems with Data Table and Pager component in JSF" Watch "Having Problems with Data Table and Pager component in JSF" New topic
Author

Having Problems with Data Table and Pager component in JSF

Naga Siva
Greenhorn

Joined: Mar 30, 2006
Posts: 1
I have JSF Page where I am displaying results in a data table and set page size to 10 to display 10 records per page.I am using Pager component provided by core jsf examples (Page Renderer).

It is working fine if the number of results are multiples of 10.But if number of results are 11 then it is showing correct number of pages i.e 2 and displaying 10 records in the firstpage but when I click on 2nd page it is again showing 10 records instead of 11th record.

Is this problem with Data Table or with Pager?Please let me know is there anyway to solve this issue....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Having Problems with Data Table and Pager component in JSF