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

DataTable mutiple bottom toolbars are misplaced because of bad html

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.4.5
    • 1.4.6
    • wicket-extensions
    • None

    Description

      DataTable mutiple bottom toolbars are misplaced because multiple <tfoot></tfoot> elemenst are generated. <tfoot> should be outside of the the RepeatingView.

      SOLUTION:
      In DataTable.html change:
      -----------------------------------------------------------
      <thead wicket:id="topToolbars">
      <wicket:container wicket:id="toolbar"></wicket:container>
      </thead>
      <tfoot wicket:id="bottomToolbars">
      <wicket:container wicket:id="toolbar"></wicket:container>
      </tfoot>
      ------------------------------------------------------------
      to
      ------------------------------------------------------------
      <thead><span wicket:id="topToolbars">
      <wicket:container wicket:id="toolbar"></wicket:container>
      </span></thead>
      <tfoot><span wicket:id="bottomToolbars">
      <wicket:container wicket:id="toolbar"></wicket:container>
      </span></tfoot>
      ------------------------------------------------------------

      Attachments

        Activity

          People

            Unassigned Unassigned
            gregjohnson Greg Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified