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

dataScroller does not scroll when dataTable uses alias bean

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 1.1.9
    • None
    • Data Scroller
    • None
    • faces 2.0.1

    Description

      Hi,

      Here is a snippet:

      <t:aliasBean alias="#

      {beanAlias}

      " value="#

      {endScheduleBean}

      ">

      <t:dataTable id="scheduleTable"
      styleClass="standardTable"
      headerClass="standardTable_SortHeader"
      columnClasses="standardTable_ColumnCentered"
      rowClasses="standardTable_Row1,standardTable_Row2"
      var="row"
      value="#

      {beanAlias.model}

      "
      rows="20"
      sortable="true"
      sortColumn="#

      {beanAlias.model.sortColumn}

      "
      sortAscending="#

      {beanAlias.model.ascending}

      "
      preserveDataModel="false"
      preserveSort="false"
      style="height:100px"
      >
      ...
      ...
      </t:dataTable>

      <t:dataScroller id="scheduleScroll"
      for="scheduleTable"
      rendered="#

      {beanAlias.model.rowCount > 20}

      "
      immediate="true"
      fastStep="10"
      styleClass="scroller"
      paginator="true"
      paginatorMaxPages="10"
      paginatorTableClass="paginator"
      paginatorActiveColumnStyle="font-weight:bold"
      style="margin-left:300px"
      >
      <f:facet name="first" >
      <t:graphicImage url="/img/arrow-first.gif" border="1" />
      </f:facet>
      <f:facet name="last">
      <t:graphicImage url="/img/arrow-last.gif" border="1" />
      </f:facet>
      <f:facet name="previous">
      <t:graphicImage url="/img/arrow-previous.gif" border="1" />
      </f:facet>
      <f:facet name="next">
      <t:graphicImage url="/img/arrow-next.gif" border="1" />
      </f:facet>
      <f:facet name="fastforward">
      <t:graphicImage url="/img/arrow-ff.gif" border="1" />
      </f:facet>
      <f:facet name="fastrewind">
      <t:graphicImage url="/img/arrow-fr.gif" border="1" />
      </f:facet>
      </t:dataScroller>
      </t:aliasBean>

      Thanks,
      Sam

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            shamshot Sam Assatov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: