3 Replies Latest reply on Nov 3, 2006 6:05 AM by Gregory Nikle

    <t:dataScroller, dynamic loading...

    Gregory Nikle Apprentice

      Hi!
      I have <t:dataScroller on my web, and I want to load data dynamic, from DB.
      How can I connect my method loadData() {...} to those component "first" button?
      <f:facet name="first">
      <h:graphicImage value="/images/arrow-first.gif" style="border: none;" />
      </f:facet>


      <t:dataScroller id="questionsScroller"
      for="questionsTable"
      fastStep="10"
      pageCountVar="pageCount"
      pageIndexVar="pageIndex"
      style="border: none;"
      paginator="true"
      paginatorMaxPages="5"
      paginatorTableClass="paginator"
      paginatorActiveColumnStyle="font-weight:bold; border:none;">
      <f:facet name="first">
      <h:graphicImage value="/images/arrow-first.gif" style="border: none;" />
      </f:facet>