aspose file tools
The moose likes JSF and the fly likes Paging and Sorting in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Paging and Sorting in JSF" Watch "Paging and Sorting in JSF" New topic

Paging and Sorting in JSF

KRK Gowda
Ranch Hand

Joined: Nov 02, 2004
Posts: 132
Hi All,
I am newbie to JSF, and i am working on client framework for JSF. I am stuck up with paging and sorting in my application.
I tried to search for paging and sorting in JSF, but all samples are using DataModel.
But, the framework i am using do not support DataModel.
Can anybody tell me how to implement paging and sorting without using DataModel ?

Thanks and Regards,
- Gowda
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16537

javax.faces.model.DataModel is a core part of JSF, so if you're really using JSF, DataModel and the datatable tags that use it are supported.

The core JSF datatable doesn't support paging and sorting, however. There are extended versions of dataTable that do, such as the ones in the MyFaces Tomahawk project. Tomahawk is an extra jar that you add to your JSF project in order to use the extended functions.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Paging and Sorting in JSF