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

    rich:extendeddatatable - Filtering issue

    Pramod Nair Novice

      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 Master

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

          • 2. Re: rich:extendeddatatable - Filtering issue
            Pramod Nair Novice

            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"
            <ui:composition xmlns="http://www.w3.org/1999/xhtml"
             <ui:define name="body">
             <h:messages styleClass="message" />
             <f:facet name="header">Online Sales</f:facet>
             <div id="staticBodyContainer" align="center">
             <style type="text/css">
             p {
             margin-left: 25px;
             margin-right: 25px;
             <span style="font-weight: normal; align: left"> <br />
             <h1 align="center" style="font-weight: bold; color: black">Online
             <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>
             <rich:extendedDataTable id="carInfoViewList" var="carInfoView"
             rendered="#{not empty carInfoViewList.resultList}"
             sortMode="single" width="1300px" height="700px"
             <rich:column sortable="true" sortBy="#{carInfoView.auctionHouseName}" id="col1"
             filterBy="#{carInfoView.auctionHouseName}" filterEvent="onkeyup" width="180px">
             <f:facet name="header">
             <h:outputText value="Location"
             <h:outputText value="#{carInfoView.auctionHouseName}"/>
             <rich:column sortable="true" sortBy="#{carInfoView.make}"
             filterBy="#{carInfoView.make}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="Make"
             <h:outputText value="#{carInfoView.make}"/>
             <rich:column sortable="true" sortBy="#{carInfoView.model}"
             filterBy="#{carInfoView.model}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="Model"
             <h:outputText value="#{carInfoView.model}"/>
             <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 ;"/>
             <h:outputText value="#{carInfoView.year}"/>
             <rich:column sortable="true" sortBy="#{carInfoView.miles}"
             filterBy="#{carInfoView.miles}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="Miles"
             <h:outputText value="#{carInfoView.miles}"/>
             <rich:column sortable="true" sortBy="#{carInfoView.color}"
             filterBy="#{carInfoView.color}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="Color"
             <h:outputText value="#{carInfoView.color}"/>
             <rich:column sortable="true" sortBy="#{carInfoView.cylinder}"
             filterBy="#{carInfoView.cylinder}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="Cylinder"
             <h:outputText value="#{carInfoView.cylinder}"/>
             <rich:column sortable="true" sortBy="#{carInfoView.usaledate}"
             filterBy="#{carInfoView.usaledate}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="Sale Date"
             <h:outputText value="#{carInfoView.usaledate}"/>
             <rich:column sortable="true" sortBy="#{carInfoView.description}"
             filterBy="#{carInfoView.description}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="Type"
             <h:outputText value="#{carInfoView.description}"/>
             <rich:column sortable="true" sortBy="#{carInfoView.fuelType}"
             filterBy="#{carInfoView.fuelType}" filterEvent="onkeyup" width="110px">
             <f:facet name="header">
             <h:outputText value="FuleType"
             <h:outputText value="#{carInfoView.fuelType}"/>
             <rich:componentControl event="onRowClick" for="menu"
             <f:param value="#{carInfoView.make}" name="make"/>
             <f:param value="#{carInfoView.auctionHouseName}" name="location"/>
             </rich:extendedDataTable >

            • 3. Re: rich:extendeddatatable - Filtering issue
              Ilya Shaikovsky Master

              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 Nair Novice

                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?