12 Replies Latest reply on Feb 25, 2008 9:42 AM by David Morgan

    actionListener doesnt work after datascrolling

    Nicola Newbie


      <rich:dataTable id="tab1" value="#{sdt.lista}" var="dati" rows="20"
       <f:facet name="header">
       <rich:datascroller id="scroller"/>
       <f:facet name="header">
       <a4j:commandLink value="id" reRender="tab1" actionListener="#{sdt.doSort}"/>
       <h:outputText value="#{dati.id}" />
      ......more columns.......
      and in the bean:
      public void doSort(ActionEvent e){
       HtmlAjaxCommandLink a = (HtmlAjaxCommandLink)e.getComponent();
      until i dont click the datascroller everything goes fine, but after that the doSort (i see in debug) is not called at all. Any idea?
      I'm using richfaces 3.1.3