1 Reply Latest reply on Sep 14, 2009 8:14 PM by ZJ DA

    rich:datascroller not updated after navigating to another pa

    ZJ DA Newbie

      Hi, After navigating to another page by clicking either a page number or an arrow icon, the table is updated correctly. However, the datascroller seems not refreshed. For example, if navigating from page 1 to page 2, the page 1 number, first page icon and previous icon are still disabled and page 2 number is still a link. I printed the page attribute, it is correct. If I refresh the page using IE refresh button, then the component is rerendered correctly.

       <h:form id="childrenTableForm" style="margin:0px; padding:0px; border:0px; ">
       <rich:panel id="childrenTablePanel" style="vertical-align:top; margin:0px; padding:0px; height:200px; position:relative; ">
       <rich:datascroller id="childrenTableScroller" reRender="detailPanel" for="childrenTable"
       page="#{childrenTable.scrollerPage}" maxPages="200"/>
       <rich:extendedDataTable value="#{childrenTable}" var="row" rows="6" id="childrenTable"
       width="100%" height="175px" selection="#{childrenTable.selection}"
       enableContextMenu="false" tableState="#{childrenTable.tableState}"
       <rich:column sortable="false" width="25px">
       <h:graphicImage value="#{row.icon}" />

      My search page also uses rich:datascroller and rich:extendedDataTable. And the code for these 2 pages are almost identical, but search page works fine.

      I have tried different ways and run out of options. Could anyone give me some advises?

      BTW, after moving to 3.3.2 CR1, I started seeing some js errors:

      Error: this.getLabel() has no properties
      Source File: http://localhost:8080/ipark/faces/a4j/g/3_3_2.CR1/org/richfaces/ui.pack.js
      Line: 14069

      It is nothing to do with the datascroller problem.