2 Replies Latest reply on Mar 11, 2011 3:11 AM by ilya_shaikovsky

    dataScroller javascript events

    jgoodfellow

      I'm upgrading an application from 3.3.3 to 4.0.0 and I've noticed the callbacks that we use in the client for the dataScroller to show an animation during the ajax event don't seem to be called anymore.  Is there another way to accomplish this in 4.0.0?  The parameters are onpagechange and oncomplete.


               <rich:dataScroller id="thePagerControl"
                         align="center"
                         for="theGrid"
                         page="#{entity['currentPage']}"
                         maxPages="#{entity['maxPages']}"
                         boundaryControls="show"
                                   fastControls="show"
                                   fastStep="1"
                                   stepControls="hide"
                                   onpagechange="showLoading( true );"
                                   oncomplete="showLoading( false );"
                                   render="thePagerDescription buttonsHeader thePagerLinks"
                                   tableStyleClass="sortPanelHeader"
                                   inactiveStyleClass="pagerInactive"
                                   selectedStyleClass="pagerActive">
           <f:facet name="first">&#xAB;&#xAB;</f:facet>
           <f:facet name="fastRewind">&#xAB;</f:facet>
           <f:facet name="fastForward">&#xBB;</f:facet>
           <f:facet name="last">&#xBB;&#xBB;</f:facet>
          </rich:dataScroller>