Saturday May 17, 2008
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 in Java at May 17 2008, 08:19:55 AM MDT 6 Comments
Search This Site
Recent Entries
- What's New in Spring 3.0
- Developing Rich Web Service APIs with Java
- C++, Java and .NET: Lessons Learned from the Internet Age
- Highly Interactive Software with Java and Flex
- The Cloud Computing Continuum with Bob McWhirter
- Software Quality: The Quest for the Holy Grail?
- What's Happening in the Java World?
- Fantastic Fun in Jackson Hole
- How We Hired a Team of 10 in 2 Months
- Jack's Skiing Like A Madman!
Posted by Lars Fischer on May 17, 2008 at 12:31 PM MDT #
Posted by Shoaib Akhtar on May 19, 2008 at 08:53 AM MDT #
Posted by Nick Yao on July 30, 2008 at 01:08 AM MDT #
Posted by krishna on August 26, 2008 at 10:45 AM MDT #
Posted by manjjunath on October 23, 2008 at 12:38 AM MDT #
Posted by manjunath on October 23, 2008 at 12:41 AM MDT #