AppFuse + DisplayTag: External Sorting and Paging Example
Chris Barham has posted an excellent example of how to do external sorting and paging to the AppFuse mailing list:
I've put together a new AppFuse project which demonstrates how to enhance the List screens. DisplayTag as provided has issues with large datasets, (it retrieves all the records every time), and sorting via column headings does not work for the entire dataset, only those on screen at the time.
I've built a project which addresses these issues, using Hibernate Criteria and extensions to DisplayTags PaginatedList interface which gets DisplayTag to hand off all requests for sorting and paging to the new implementation of PaginatedList.
The Google Code project is checked in to: http://code.google.com/p/pagingappfuse/ feel free to check out the code and comment. (instructions here: http://code.google.com/p/pagingappfuse/source/checkout)
There are instructions regarding the steps taken on the project wiki page here: http://code.google.com/p/pagingappfuse/wiki/PagingSorting
Cheers,
Chris
Nice work - thanks Chris!
Posted by Lars Fischer on May 17, 2008 at 06:31 PM MDT #
Posted by Shoaib Akhtar on May 19, 2008 at 02:53 PM MDT #
Posted by Nick Yao on July 30, 2008 at 07:08 AM MDT #
Posted by krishna on August 26, 2008 at 04:45 PM MDT #
Posted by manjjunath on October 23, 2008 at 06:38 AM MDT #
Posted by manjunath on October 23, 2008 at 06:41 AM MDT #