20080517 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 2 Comments

Comments:

Thanks a lot - just in time!

Posted by Lars Fischer on May 17, 2008 at 12:31 PM MDT #

Hi, Please take a look at JMesa (http://code.google.com/p/jmesa ) its very nice and flexible table component.

Posted by Shoaib Akhtar on May 19, 2008 at 08:53 AM MDT #

Post a Comment:
  • HTML Syntax: Allowed