4 Replies Latest reply on Nov 26, 2009 11:15 PM by jyothich

    bug in richfaces 3.2.2 - extendedDataTable - View

    kshysieq

      After rendering extended data table I get such view:

      screen

      Is is a known bug of version 3.2.2??

      Greetings, Chris

        • 1. Re: bug in richfaces 3.2.2 - extendedDataTable - View
          kshysieq

          I also user JBoss Tool:
          (requires Eclipse 3.4.x): JBossTools 3.0.0.Beta1

          • 2. Re: bug in richfaces 3.2.2 - extendedDataTable - View
            ilya_shaikovsky

            extendedDataTable was declared as a component "preview" in 3.2.2 version and has numerous issues there. So you should use 3.3.0 latest BETA to get them all fixed.

            • 3. Re: bug in richfaces 3.2.2 - extendedDataTable - View
              kshysieq

               

              "ilya_shaikovsky" wrote:
              extendedDataTable was declared as a component "preview" in 3.2.2 version and has numerous issues there. So you should use 3.3.0 latest BETA to get them all fixed.


              I used richfaces-ui-3.3.0.BETA3 version and it helps!

              thanks a lot :)

              Greetings

              • 4. Re: bug in richfaces 3.2.2 - extendedDataTable - View

                Hi,
                I also have couple of issues in rich:extendedDatatable (i'm using 3.3.2 SR jars). Thanks in advance. please check it the below scenarios
                1. In rich:extendedDataTable with the help of sort ascending and sort descending option we can sort the entire table but why can't we group the entire table. Below is the code which I'm currently using if I clicks on another page in rich:datascroller I will be able to view the ascending or descending data based on the option which I had used but unable to view the grouping of data in all the pages. If I need grouping in all pages what shall I need to do

                <rich:extendedDataTable rowClasses="list_dt_first1, list_dt_second" styleClass="scroll-background" headerClass="tablebodyFont" var="detaildata" value="#{additemmb.mliDetails}" height="600px" width="200%" cellspacing="0" cellpadding="0" id="detailSection" rows="15" rowKeyVar="rowIndex" >

                <rich:column style="text-align:center" width="75px">
                <f:facet name="header">
                <h:outputLabel styleClass="tabletextFont" value="Select"></h:outputLabel>
                </f:facet>
                <h:panelGroup>
                <h:outputText style="FONT-SIZE: 11px;" styleClass="textBoxSearchFont" value="#{detaildata.rownum}"></h:outputText>
                <h:selectBooleanCheckbox onclick="selectItem();" value="#{detaildata.toDelete}">
                </h:selectBooleanCheckbox>
                </h:panelGroup>
                </rich:column>

                <rich:column style="text-align:center" width="100px" filterBy="#{detaildata.mplItem}" filterEvent="onkeyup" label="MLI " sortable="true" sortBy="#{detaildata.mplItem}">
                <f:facet name="header">
                <h:outputLabel styleClass="tabletextFont" value="MLI"></h:outputLabel>
                </f:facet>
                <h:outputText rendered="#{!detaildata.toDelete}" styleClass="textBoxSearchFontAddItem"
                value="#{detaildata.mplItem}" ></h:outputText>
                <h:inputText size="12" rendered="#{detaildata.toDelete}" styleClass="textBoxSearchFontAddItem" maxlength="10" value="#{detaildata.mplItem}" style="FONT-SIZE: 11px;" >
                <a4j:support event="onchange" ajaxSingle="true" ></a4j:support>
                </h:inputText>
                </rich:column>



                <rich:column width="150px" style="text-align:center" sortable="true" sortBy="#{detaildata.newItem}">
                <f:facet name="header">
                <h:panelGroup>
                <h:outputLabel styleClass="tabletextFont" value="New Item"></h:outputLabel>
                *
                </h:panelGroup>
                </f:facet>
                <h:outputText styleClass="textBoxSearchFont" value="#{detaildata.newItem}" style="FONT-SIZE: 11px;" ></h:outputText>
                </rich:column>

                <rich:column style="text-align:center" sortable="true" sortBy="#{detaildata.cptlnDt}" >
                <f:facet name="header">
                <h:outputLabel styleClass="tabletextFont" value="Date Completed"></h:outputLabel>
                </f:facet>
                <h:outputText rendered="#{!detaildata.toDelete}" styleClass="textBoxSearchFontAddItem" value="#{detaildata.cptlnDt}" ></h:outputText>
                <rich:calendar rendered="#{detaildata.toDelete}" direction="top-right" styleClass="txt_mnd_fld" datePattern="MM/dd/yyyy" id = "CPLTNDate" value="#{detaildata.cptlnDate}" >
                <a4j:support event="oncollapse" ajaxSingle="true" ></a4j:support>
                </rich:calendar>
                </rich:column>

                <f:facet name="footer">
                <h:panelGroup styleClass="scroll-background" id="detailSection3" rendered="#{additemmb.mliDetailsStatus}">
                <rich:datascroller style="text-align:left" id="scroll_1" limitToList="true" page="#{additemmb.detailscrollerPage}" pageIndexVar="pageIndex" pagesVar="pages" reRender="detailSection,indexId,textId,pagesId"
                styleClass="scroll-background"
                maxPages="5" >
                <f:facet name="first" >
                <t:graphicImage url="/images/arrow-first.gif" border="1" />
                </f:facet>
                <f:facet name="last">
                <t:graphicImage url="/images/arrow-last.gif" border="1" />
                </f:facet>
                <f:facet name="previous">
                <t:graphicImage url="/images/arrow-previous.gif" border="1" />
                </f:facet>
                <f:facet name="next">
                <t:graphicImage url="/images/arrow-next.gif" border="1" />
                </f:facet>
                <f:facet name="fastforward">
                <t:graphicImage url="/images/arrow-ff.gif" border="1" />
                </f:facet>
                <f:facet name="fastrewind">
                <t:graphicImage url="/images/arrow-fr.gif" border="1" />
                </f:facet>

                <a4j:support event="onpagechange" ajaxSingle="true" ></a4j:support>
                </rich:datascroller>
                <h:panelGrid style="text-align:left" width="100%" styleClass="paginationMsg">
                <h:panelGroup>
                <h:outputText id= "indexId" value = "#{pageIndex}"></h:outputText>
                <h:outputText id= "textId" escape="false" value = " of "></h:outputText>
                <h:outputText id= "pagesId" value = "#{pages}"></h:outputText>
                <h:outputText id= "strId" escape="false" value = " Pages"></h:outputText>
                </h:panelGroup>
                </h:panelGrid>
                <rich:spacer height="2%" />

                </h:panelGroup>
                </f:facet>
                </rich:extendedDataTable>

                2. how to hide the sort ascending and descending options for a specific column in rich:extendedDataTable. (I want to hide options instead of the default disabled options).