I'm not familiar enough with the HTMLtable to comment on it. I've cc'd the displaytag-devel mailing list, hopefully someone else can provide you an accurate comparison.

After looking at your HTML doc, here's a couple comments:

I added I18N support to titles in the displaytag yesterday. I haven't tested it with other languages, but since it relies on JSTL's I18N, it should work. I also added Expression support ala JSTL.

HTH,

Matt

Begin forwarded message:

From: "Srikanth Shenoy" <[EMAIL PROTECTED]>
Date: January 3, 2004 10:49:43 AM MST
To: <[EMAIL PROTECTED]>
Subject: DisplayTag info in my book

Hi Matt,
 
I am writing a book on Struts best practices and I have included a section comparing the display tag and Htmltable (http://sourceforge.net/projects/htmltable/)
 
I appreciate if are willing to verify if my conclusions (in the attached HTML)are correct.
 
Regards,
Srikanth
 
*******************************
  Srikanth Shenoy
  Objectseek Inc
 http://www.objectseek.com
  Cell : 312-804-4210
*******************************

 

<<inline: Blank Bkgrd.gif>>

Title: Table 6

 

Table 6.3 Feature Comparison between DisplayTag and HtmlTable

Feature

DisplayTag

HtmlTable

Display Formatting

Very rich and customizable using CSS.

Limited features. Formatting is based on a back end XML file and hence not directly under page author’s control.

Column Grouping

Yes

Yes

Nested Tables

Yes

No

Coding Style

The display model should be created in advance, but the formatting can be invoked from the JSP using hooks called decorators

Does not require controller (such as Struts or its Action). The JSP itself can control the paging.

The display model and its formatting should be performed in advance (in a Action). The paging is tied to Struts. Needs a predefined Action called ServeTableAction. Strictly MVC based.

Paging

Fixed style auto paging

Fixed style auto paging

Sorting

Yes

Yes

I18N

No. Messages can be externalized to a properties file but cannot be localized.

Yes. Can use Struts resource bundle

Editable column

No

Yes, but form is submitted to a predefined Action. Action chaining for custom processing can be setup with minor customization.

Documentation and examples

Good

Limited

User community

Relatively high

Very less

 

 

Reply via email to