| Author |
Pagination using datatable of jsf
|
prasad kakani
Ranch Hand
Joined: Jul 15, 2008
Posts: 59
|
|
Hi All,
How we can do the pagination in jsf?
As per my technology stack, i can go for only core jsf components..? Can any one suggest how this can be done, using h:dataTable or ui:repeat?
The pagination should be like links 1 2 3 4 5 6
Thanks
Venkat
|
 |
prasad kakani
Ranch Hand
Joined: Jul 15, 2008
Posts: 59
|
|
Hi All,
I have developped a simple data table with pagination. But it is not working as expected. Could not figure out the problem.
Code for this complete pagination.
Test.xhtml
------------
ExampleBean.java
----------------------
MyData.java
--------------
PaginationBean.java
-------------------------
Getting the output like this:
ID NAMe
1 AA
2 BB
1 2 3 4 (all links) . when i click second or third page, table is not getting altered. for all pages the table is showing only first 2 rows always.
Could you please help me out..?
help would be greatly appriciated
Thanks
prasad
|
 |
 |
|
|
subject: Pagination using datatable of jsf
|
|
|