Display Tag : Tag library for table display

Display Tag LogoDisplay tag is an open source collection of JSP tag libraries which can be used to display powerful tables in HTML. Display Tag provides pagination, sorting,  grouping and exporting(PDF, CSV etc) features to a table of data.  Display tag also provides i18n and JSR-168 portlet support.

Display tag also supports external pagination/sorting for large datasets. In this case pagination/sorting can be delegated to the database.

Display tag behavior can be extended using decorators, which can be applied to the entire table or a specific column in the table.

Following a sample display tag usage scenario. In this case the list of data items in table is available as sourceKey in request. The output will be a table with each row having id,customername and customeraddress.

<display:table name=”sourceKey”>
  <display:column property=”id” title=”ID” />
  <display:column property=”customername” />
  <display:column property=”customeraddress” />
</display:table>