Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1667

Improvements in the 'ajax' autocompleter and form themes.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3
    • 2.1.0
    • None
    • None

    Description

      File
      template/ajax/autocompleter.ftl

      in the struts2-core.jar is missing the closing slash.
      It generates '>' instead of '/>'

      Also file
      template/ajax/form-close.ftl
      generates some Javascript code just before the <table> element is closed.
      Can all this javascript be generated after closing the table?
      I am thinking about it in sense of html validity.
      Script elements are not allowed between rows.

      Also is this extra reference to "dojo.widget.html.Tooltip" always needed?
      Can it be added only if some condition is met?

      Attachments

        Issue Links

          Activity

            People

              musachy Musachy Barroso
              dwojtas@gmail.com Dariusz Wojtas
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: