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

DataTable generates two <thead wicket:id="topToolbars">

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.3
    • 1.4.6, 1.5-M1
    • wicket-extensions
    • None

    Description

      The tables generated by DataTable component in the current version of Wicket (1.4.3) do not contain <thead> in the output HTML.
      It was working correctly in wicket 1.4.0 but there were some changes to fix other issues - see WICKET-2436

      To replicate - launch the wicket-examples-1.4.3.war and look at the DataTable example:
      http://localhost:8081/wicket-examples-1.4.3/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.DataTablePage
      If you check the HTML source you will see it does not contain thead tag:

      {html}
      <table class="dataview" cellspacing="0">

      <tr class="navigation">{html}

      When you look at http://www.wicket-library.com/wicket-examples/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.DataTablePage
      it shows:

      {html}
      <table class="dataview" cellspacing="0">
      <thead>
      <tr class="navigation">{html}

      Must be a previous version?

      Attachments

        Issue Links

          Activity

            People

              jdonnerstag Juegen Donnerstag
              schueffi Stefan Schueffler
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: