Saturday, December 29, 2007

Table Display Using DisplayTags & AjaxTags

The display tag library is an open source suite of custom tags that provide high-level web presentation patterns which will work in an MVC model.

Display tag can be downlaoded from

http://displaytag.sourceforge.net/11/download.html

Actually the display tag library can just... display tables! Give it a list of objects and it will handle column display, sorting, paging, cropping, grouping, exporting, smart linking and decoration of a table in a customizable XHTML style

Exporting includes CSV,PDF,XML,Excel formats.

Pagination and sorting can be easily achieved.Sorting can be done per page or on the entire list based on the option given.Different css can be used for styling.

Table contents can be given as links by href options.Also dynamic links can be provided.Decorators can be used to display the contents of the table in desired formats.Decorators can be applied to tabel as a whole or per column basis.

The object to be displayed can be a Collection, an Enumeration, a Map (values are displayed in row), a Dictionary (values are displayed in row), an array, an Iterator, any Object with an iterator method.

The AJAX JSP Tag Library is a set of JSP tags that simplify the use of Asynchronous JavaScript and XML (AJAX) technology in JavaServer Pages.

It is a wrapper over display tag which allows only the part of the screen to be refreshed without the entire page being sent back to the server.Configeration is simple and all features of the display tag can be used.

Ajax Tags can be downloaded from

http://sourceforge.net/projects/ajaxtags

No comments:

 
Free Domain Names @ .co.nr!