Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-495

Datascroller renders empty table if no child facets are presemt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 1.1.3
    • 1.1.4-SNAPSHOT
    • Data Scroller
    • None
    • Tomahawk and Sun JSF RI 1.1_2

    Description

      The datascroller always renders an empty table even if none of the pager facets are present. For example

      <t:dataScroller for="searchResultsTable" paginator="false"
      rowsCountVar="rowsCount"
      firstRowIndexVar="firstRowIndex"
      lastRowIndexVar="lastRowIndex"
      styleClass="pager-part">

      <h:outputText value="Some Text"></h:outputText>
      </t:dataScroller>

      This JSF produces the following HTML:

      Some Text<table class="pager-part"><tr></tr></table>

      The empty table is not required.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gcoleman Guy Coleman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: