Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4710

DataTable - Headers with OrderByBorder have invalid HTML markup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.0.0
    • 6.0.0
    • wicket-extensions

    Description

      WICKET-4690 changed the tag type to <div> for the content of DataTable cells. When a sortable column is used, this produces invalid HTML markup which can wreck css stylings.

      The markup is now:
      <th class="wicket_orderUp">
      <a class="wicket_orderUp">
      <div></div>
      </a>
      </th>

      Note the <a> (inline element) containing a <div> (block element)

      Attachments

        1. screenshots.png
          7 kB
          Bertrand Guay-Paquet

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              berniegp Bertrand Guay-Paquet
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: