2 Replies Latest reply on Nov 30, 2012 3:40 PM by tom green

    rich:dataScroller with a4j:ajax event="rowclick" always returns first page elements

    F M Newbie

      Hi,

       

      I'm using RF-4.0.1.Final with JSF-2.0.6.

       

      I have the following code on a page:

       

      <rich:dataTable value="#{aBean.vehicleList}" var="vehicle">
                <a4j:ajax event="rowclick" listener="#{aBean.select(vehicle)}" />
                [...)
                <rich:dataScroller />
      </rich:dataTable >
      
      

       

      On the first page, no problem, the correct vehicle is used during the call to the select method.

       

      But if I use the scroller to go on another page, and if I click for example on the third row, then the select method will be called with the third element of the list (third vehicle of the first page), instead of the third element of the current page...

       

      Any idea on how to fix this ?

       

      Regards,

      FM