Hi,
I am using jsf rich faces to dispay the page. Pagination is not working in the same page.Problem here is i am able to see the first page only for the pagination functionality.
What is the scope of your backing bean? If it's Request scope, then the bean gets destroyed and recreated from scratch on each page refresh, losing the previous pagination context. Request scope is almost totally useless in JSF.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
You have defined your dataScroller within the footer of the table. That's not how the example showed it and it's not how I've been doing it.
All the cases I'm familiar with have the dataScroller as an element external to the dataTable and referencing the dataTable via the "for=" attribute.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
Those cherries would go best on cherry cheesecake. Don't put those cherries on this tiny ad:
a bit of art, as a gift, that will fit in a stocking