Uploaded image for project: 'Velocity Tools'
  1. Velocity Tools
  2. VELTOOLS-102

Add capabilities to simplify handling of complex HTML tables

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • GenericTools
    • None
    • No specific requirements on the environment are known

    Description

      This is a feature request for a tool that simplifies the handling of complex HTML using Velocity. The basic idea is to take the pain out of using complex hierarchies of Velocity macros to place HTML tags such as <tr> and <td> in the right places for tables with non-trivial structures (using e. g. colspan and rowspan). This is made possible by handling the logical table data structure in Java code and by using a dedicated Table class to communicate information in between the Java application and the Velocity context.

      A short discussion thread can be found in the forum using this link:

      http://velocity.markmail.org/search/?q=table+cell+laux#query:table%20cell%20laux+page:1+mid:du3pucnapp6ezbzp+state:results

      Based on that initial contact, follow-up discussions with Nathan Bubna took place over the last few months. Effectively, a 1.0 version of this tool was already built by Matthias Laux, the submitter of this reature request issue. The sources will be attached.

      Additional information on what the tool does and what the code actually looks like can also be found in this article:

      http://www.javaworld.com/javaworld/jw-01-2008/jw-01-htmltables.html

      Remaining work needs to be done for example on implementing unit tests. The effort estimate relates to these.

      Attachments

        1. htmltable.zip
          18 kB
          Matthias Laux

        Activity

          People

            Unassigned Unassigned
            malaux Matthias Laux
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1m
                1m
                Remaining:
                Remaining Estimate - 1m
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified