-
1. Re: Pagination using <rich:datascroller> but not all records fetched at a time.
bungrudi Sep 8, 2009 2:45 PM (in response to ambrish_kumar)Hi Ambrish,
It's very possible. rich:datascroller works with DataModel implementation. So basically you just have to implement DataModel that does database paging.
There's an easy way to do this. Database paging functionality is provided in EntityQuery class. This class is extended as XxxHome when you runseam generate-entities
. So you can just implement a DataModel that delegates all function call to underlying EntityQuery.
I'll post our code when we have time for this.Rgds,
Rudi -
2. Re: Pagination using <rich:datascroller> but not all records fetched at a time.
ambrish_kumar Sep 8, 2009 3:45 PM (in response to ambrish_kumar)Hi Rudi,
Thanks for the reply.
Actually, We have implemented the pagination functionality without using <rich:datascroller> and it is working fine. We are not using EntityHome and EntityQuery for CRUD functionality. It will be helpful if you provide me some code explanations.
Regards
Ambrish