• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Having Problems with Data Table and Pager component in JSF

 
Naga Siva
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic