11 Replies Latest reply on Sep 8, 2008 9:15 AM by Lotfi Mellouk

    dataScroller inside dataTable

    Lotfi Mellouk Master

      Hi all,

      I put dataScroller inside dataTable and selectOneMenu in order to set dataScroller page.
      when I select a page first time, it works, but, when I try to change a page, dataTable is not rerendered, and nothing happeng.

      <f:facet name="footer">
      <rich:panel style="border:0;text-align:center;">
      <h:selectOneMenu value="#{bean.page}" id="go_to">
      <f:selectItems value="#{bean.pages}" />
      <a4j:support reRender="table_id" event="onchange" ajaxSingle="true">
      <rich:datascroller binding="#{bean.scroller}"
      pageIndexVar="pageIndex" pagesVar="pages" for="table_id"
      id="scr2" reRender="table_id"
      <f:facet name="pages">
      <h:outputText value="#{pageIndex} / #{pages}" />

      RF 3.2.1.CR2 myfaces 1.2.2

      what can I do to get dataScroller working perfectly?