DisplayTag

5 new features (patch included): TR decorator, new layout property for page-link banner,   instead of empty TD, ability to call JSCRIPT instead of requestURI, new RequestHelper

Details

Description

Five cool features ready to add into displaytag (PATCH INCLUDED AND THREE NEW CLASSES ARE PROVIDED) !
1) new jScriptName TableTag property for jscript based requestURI - Now you can build table that execute a jscript function by passing the URI as argument (this allow to perform what you want such as: form submit, validation, etc...);
2) new Request helper (QueryStringRequestHelperFactory.java & QueryStringRequestHelper.java) that generate base HREF only with parameter of QueryString (necessary to avoid to overflow requestURI when form submit are executed);
3) added new TableDecorator callback to customize <TR> html tab called decorateRowTag - Now you can add to each row: custom style, jscript event like onclick, onmouseover, etc...). The method take in input the default TR tag string that can be enriched or throw out to provide custom TR content.
4) new property to control pagebanner and pagelinks sections together - Now displaytag render pagebanner and pagelinks by following new property paging.banner.page.layout that by default contain:{0}{1} (no visual effects), where {0} is pagebanner and {1} is pagelinks.
5) avoid very empty TD tag but put &nbsp; instead (useful when table border is set).

Sorry Fabrizio, but I have no more time to revise documentations and to provide test cases.
  1. displaytag-diff.txt
    15/Dec/05 5:45 AM
    17 kB
    Emilio Dolce
  2. srcNewClasses.rar
    15/Dec/05 5:45 AM
    3 kB
    Emilio Dolce

Activity

Hide
Robert Scholte added a comment -
Is there an upgrade for 1.1 available?
Show
Robert Scholte added a comment - Is there an upgrade for 1.1 available?
Hide
Emilio Dolce added a comment -
NO.
Show
Emilio Dolce added a comment - NO.

People

  • Reporter:
    Anonymous
Vote (7)
Watch (5)

Dates

  • Created:
    Updated:

Time Tracking

Estimated:
3d
Original Estimate - 3 days
Remaining:
3d
Remaining Estimate - 3 days
Logged:
Not Specified
Time Spent - Not Specified