1 Reply Latest reply on Nov 21, 2007 12:12 PM by fmarwede

    problem with DataScroller and h:commandLink (reRender)

      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"""