2 Replies Latest reply on Mar 21, 2013 6:34 AM by arean.tromp

    Datascroller paging fails after upgrade from 4.2.3.Final to 4.3.1.Final

    arean.tromp

      Hello,

       

      Just upgraded to RichFaces 4.3.1 Final and dataTable paging stopped working.

       

      Example:

      {code:xml}
          <rich:dataTable id="something" keepSaved="true"
              value="#{something.dataModel}" var="record"
              rowClasses="oddrow,evenrow" rows="20">
              <rich:column headerClass="c50" styleClass="c50">
                  <f:facet name="header">
                      <h:outputText value="Details" />
                  </f:facet>
              </rich:column>
              <f:facet name="footer">
                  <rich:dataScroller id="scroller" />
              </f:facet>
          </rich:dataTable>
      {code}
      
      

       

      Clicking on a page number results in the following ajax response:

       

      <?xml version='1.0' encoding='UTF-8'?>
      <partial-response>
      <error>
      <error-name>class java.lang.NoSuchMethodError</error-name>
      <error-message><![CDATA[com.google.common.collect.Iterators.tryFind(Ljava/util/Iterator;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Optional;]]>
      </error-message>
      </error>
      

       

      Went back to 4.2.3.Final and everything is fine. Any idea what to change/ how to fix this error, this is keeping me from upgrading.

       

      Regards,

       

      Arean