DisplayTag
  1. DisplayTag
  2. DISPL-189

Getting HTML markups from .properties file

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Labels:
      None
    • Application server:
      ALL

      Description

      Reading the inner-workings of display-tag library i found that all HTML tags are "stored" as static final String's, this limiting the flexibility of HTML code to be displayed.
      I think it will be better if all HTML tags/keywords/etc are stored in a .properties file. This will allow any user tu customize table generation to it's own needs.

      For example, i couldn't find a way to render a table where the rows are scrollable and the header isnt. (i dont want scrollbars for the whole page, just for the rows).

      Maybe there is just another way to make table writing more customizable? (without modifying displayTags code, of course)

      Greetings,
      Andres Bernasconi (Sotretus)

        Activity

        Hide
        fabrizio giustina added a comment -
        All the html code used to generate anything else than the table (banner, navigation links) is already customizable using a properties file.
        The only html embedded in the code is the barebone xhtml table, so it makes no sense to allow users to change it (why you should need to rename the table, tr, or td tags??)
        Show
        fabrizio giustina added a comment - All the html code used to generate anything else than the table (banner, navigation links) is already customizable using a properties file. The only html embedded in the code is the barebone xhtml table, so it makes no sense to allow users to change it (why you should need to rename the table, tr, or td tags??)

          People

          • Reporter:
            Andres Bernasconi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: