4 Replies Latest reply on Dec 10, 2008 12:09 PM by pramod_bs

    rich:extendeddatatable - Filtering issue

    pramod_bs

      I have an application which used extendeddatatable. Everything works local machine. When I move to server and when I try to use Filtering or sorting mechanism the table hangs. I get a message in the log:

      2008-11-19 09:40:58,178 ERROR [STDERR] Nov 19, 2008 9:40:58 AM com.sun.facelets.impl.DefaultFacelet refresh
      INFO: Facelet[/layout/template.xhtml] was modified @ 9:40:58 AM, flushing component applied @ 9:40:48 AM

      I have other applicaitons in the server which uses different versions of Richfaces jar file but contained within its own war files. I am not sure if this related. Please help.

        • 1. Re: rich:extendeddatatable - Filtering issue
          ilya_shaikovsky

          please specify RF version and provide some code snippets of the pages used.

          • 2. Re: rich:extendeddatatable - Filtering issue
            pramod_bs

            Version: RF 3.2.2

            SOme other web applications in the same server uses 3.2.1 contained within their war files.

            <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
             "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
            <ui:composition xmlns="http://www.w3.org/1999/xhtml"
             xmlns:s="http://jboss.com/products/seam/taglib"
             xmlns:ui="http://java.sun.com/jsf/facelets"
             xmlns:f="http://java.sun.com/jsf/core"
             xmlns:h="http://java.sun.com/jsf/html"
             xmlns:a4j="http://richfaces.org/a4j"
             xmlns:rich="http://richfaces.org/rich"
             template="layout/template.xhtml">
            
             <ui:define name="body">
            
             <h:messages styleClass="message" />
             <rich:panel>
             <f:facet name="header">Online Sales</f:facet>
             <div id="staticBodyContainer" align="center">
             <style type="text/css">
             p {
             margin-left: 25px;
             margin-right: 25px;
             }
             </style>
            
            <!--
             <span style="font-weight: normal; align: left"> <br />
             <h1 align="center" style="font-weight: bold; color: black">Online
             Sales</h1>
             <br />
             <p style="margin-left: 25px" align="left">GSA Fleet vehicles are
             available for sale online!</p>
            
             <br />
             <p style="margin-left: 25px" align="left">While some of our sales
             are Internet-only, most are live in-lane auctions. We strive to place
             a selection of vehicles from these live sales on the Internet during
             the days leading up to the live auction.</p>
            
             <br />
             <p style="margin-left: 25px" align="left">Vehicles being offered
             for sale online are listed below. The "Status" symbols to the left of
             each vehicle indicate that vehicle's current sale situation. The
             "Live Sale" column indicates where that vehicle is located. All of
             the vehicles are directly linked to their online sale site. Simply
             click on the status symbol or the vehicle "Make" to be taken to the
             online listing.</p>
             </span>
             -->
             <rich:extendedDataTable id="carInfoViewList" var="carInfoView"
             value="#{carInfoViewList.resultList}"
             rendered="#{not empty carInfoViewList.resultList}"
             sortMode="single" width="1300px" height="700px"
             selectionMode="single"
             >
            
             <rich:column sortable="true" sortBy="#{carInfoView.auctionHouseName}" id="col1"
             filterBy="#{carInfoView.auctionHouseName}" filterEvent="onkeyup" width="180px">
             <f:facet name="header">
             <h:outputText value="Location"
             style="color:blue;"/>
             </f:facet>
             <h:outputText value="#{carInfoView.auctionHouseName}"/>
             </rich:column>
            
             <rich:column sortable="true" sortBy="#{carInfoView.make}"
             filterBy="#{carInfoView.make}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="Make"
             style="color:#006600;"/>
             </f:facet>
             <h:outputText value="#{carInfoView.make}"/>
             </rich:column>
            
             <rich:column sortable="true" sortBy="#{carInfoView.model}"
             filterBy="#{carInfoView.model}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="Model"
             style="color:#6666FF;"/>
             </f:facet>
             <h:outputText value="#{carInfoView.model}"/>
             </rich:column>
            
             <rich:column sortable="true" sortBy="#{carInfoView.year}"
             filterBy="#{carInfoView.year}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="Year"
             style="color:#CC0000 ;"/>
             </f:facet>
             <h:outputText value="#{carInfoView.year}"/>
             </rich:column>
            
             <rich:column sortable="true" sortBy="#{carInfoView.miles}"
             filterBy="#{carInfoView.miles}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="Miles"
             style="color:#666600;"/>
             </f:facet>
             <h:outputText value="#{carInfoView.miles}"/>
             </rich:column>
            
             <rich:column sortable="true" sortBy="#{carInfoView.color}"
             filterBy="#{carInfoView.color}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="Color"
             style="color:#660066;"/>
             </f:facet>
             <h:outputText value="#{carInfoView.color}"/>
             </rich:column>
            
             <rich:column sortable="true" sortBy="#{carInfoView.cylinder}"
             filterBy="#{carInfoView.cylinder}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="Cylinder"
             style="color:#FF6600;"/>
             </f:facet>
             <h:outputText value="#{carInfoView.cylinder}"/>
             </rich:column>
            
             <rich:column sortable="true" sortBy="#{carInfoView.usaledate}"
             filterBy="#{carInfoView.usaledate}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="Sale Date"
             style="color:#6666FF;"/>
             </f:facet>
             <h:outputText value="#{carInfoView.usaledate}"/>
             </rich:column>
            
             <rich:column sortable="true" sortBy="#{carInfoView.description}"
             filterBy="#{carInfoView.description}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="Type"
             style="color:#6666FF;"/>
             </f:facet>
             <h:outputText value="#{carInfoView.description}"/>
             </rich:column>
            
             <rich:column sortable="true" sortBy="#{carInfoView.fuelType}"
             filterBy="#{carInfoView.fuelType}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="FuleType"
             style="color:#666666;"/>
             </f:facet>
             <h:outputText value="#{carInfoView.fuelType}"/>
             </rich:column>
            
             <rich:componentControl event="onRowClick" for="menu"
             operation="show">
             <f:param value="#{carInfoView.make}" name="make"/>
             <f:param value="#{carInfoView.auctionHouseName}" name="location"/>
             </rich:componentControl>
            
             </rich:extendedDataTable >
             </div>
             </rich:panel>
            
            
             </ui:define>
            </ui:composition>
            


            • 3. Re: rich:extendeddatatable - Filtering issue
              ilya_shaikovsky

              could you please check 3.3.0 latest snapshot.. extended Table has critical issues in 3.2.2 first release.

              • 4. Re: rich:extendeddatatable - Filtering issue
                pramod_bs

                Sorry for the delayed reply. 3.3 does not show any issues and I am assuning it got fixed. But the filtering and grouping are very slow. I have very less data. I am not sure why. Am I doing something wrong?