This content has been marked as final.
Show 2 replies
-
1. Re: lastPageMode="full" is not working
harut Sep 14, 2010 9:20 AM (in response to aapkakk)1 of 1 people found this helpfulyou have to add corrsponding logic in the method where you initializing the collection of the datatable elements.
Write corresponding business logic for adding an empty elements in the collection... Somethong like this:
int countOfEmptyElements = (10 - yourCollection.size() % 10);
for(int i = 1; i <= countOfEmptyElements; i++) {
yourCollection.add(new YourBean());
}
-
2. Re: lastPageMode="full" is not working
aapkakk Sep 16, 2010 12:37 PM (in response to harut)Thanks Harut!
This solution I had in mind but I did not want to add rows to my Collection. Although the lastPageMode="full" is working now. The mistake I was doing is using older version of richfaces. Now I am using richfaces 3.3.3.Final. I got the jars and it is working now.