wood burning stoves 2.0*
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
Author

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: 15956
    
  19

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: http://aspose.com/file-tools
 
subject: Paging and Sorting in JSF
 
Similar Threads
Displaying 2D array using data tables
Using DisplayTag with JSF
Spring and JSF together with EJB
Can we create a custom component by extending rich:dataTable?
[JSF 2] Update the total of a column from a dataTable