3 Replies Latest reply on Oct 1, 2013 5:48 AM by Hemant Gupta

    rich:dataScroller not working in RF 4.3.0 Final

    Hemant Gupta Newbie

      Hi

       

      I've got problems getting dataScroller work in 4.3.0.Final (on Oracle WebLogic 12c).

       

      Earlier, when I was using RF 4.2.1, datascroller was working fine, but after moving to 4.3.0 Final, it has stopped working.

       

      My project doesn't use maven and I have seen the other posts on this forum that says to fix the problem, "remove the older version of Guava r9 jar file and replace it with a higher version file."

      I am using Guava 11.0.2 and I even tried with guava 13.0.1 and 15.0 jar files, but no success

       

      The ear file that I deploy on weblogic 12c, has the following structure:

       

      Myproj.ear
           /lib
                   guava-13.0.1.jar
                   richfaces-core-api-4.3.0.Final.jar
                   richfaces-components-api-4.3.0.Final.jar
                   richfaces-core-impl-4.3.0.Final.jar
                   richfaces-components-api-4.3.0.Final.jar
                   cssparser-0.9.5.jar
                   sac-1.3.jar
           /META-INF
           /proj1.jar
           /Myproj.war
                   /WEB-INF  = NO lib folder inside it
                   /other files
      

       

      databean is ViewScoped

      JSF code snippet:

       

                                  <h:form id="form">
                                      <h:panelGroup id="Data1">
                                          <rich:column width="85%" style="vertical-align:top; padding:0;">
                                              <rich:dataTable value="#{databean.dtaalist}" var="d" id="xdata" rows="5" >                                        
                                              <rich:column width="10%" style="vertical-align:top">
                                                  <f:facet name="header">
                                                      <h:outputText value="Label" />
                                                  </f:facet>
                                                  <h:outputText value="#{d.value}"/>
                                              </rich:column>
                                          </rich:dataTable>
                                          <rich:dataScroller for="xdata" renderIfSinglePage="false"/>
                                          </rich:column>
                                      </h:panelGroup>
                                  </h:form>
      

       

      I even tried using RF 4.3.1 and 4.3.4, but the problem is same. Please help and guide me what I am doing wrong.

       

      Thanks

      Hemant