11 Replies Latest reply on Nov 22, 2007 9:42 AM by Ilya Shaikovsky

    problem with DataScroller and h:commandLink (reRender)

    raphael.martins Newbie

      Hi,
      I get a problem when I try to rerender the rich:DataScroller and the rich:DataTAble.

      Situation:

      I have a h:commandButton that calls a search method. This method changes the DataTable content. After clicking in the button, the new content is rerendered in the rich:DataTable (ok), but the DataScroller doesn't change according to DataTable.
      For example, I have 2 pages in my rich:DataTable and the after clicking, the return of method is 3 pages. The rich:dataScroller keeps 2 pages. In the second request, if I click again, the DataScroller changes correctly.

      My commandButton has "<a4j:support event="onclick" reRender="DataTableID,DataScrollerID"""