This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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: 17026

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Paging and Sorting in JSF
jQuery in Action, 3rd edition