1 Reply Latest reply on Oct 15, 2014 2:37 AM by ppitonak

    RF 4.5.0 CR1 - input field for filtering a dataTable is shown twice

    allvi

      Since RichFaces 4.5.0 CR1 release all input fields for filtering a data table are shown in the header row and also in the first table row.

      But the input fields should only appear in the header row.

       

      I am using Firefox 31 with Windwos 7.

       

      Here is my code:

       

      <rich:dataTable value="#{bean.data}" var="data" iterationStatusVar="it" id="table">

                                     

      <rich:column id="ahvnr" filterValue="#{bean.ahvFilter}" filterExpression="#{fn:containsIgnoreCase(data.ahvnr,bean.ahvFilter)}">

           <f:facet name="header" style="valign: middle;">

                <h:panelGroup>

                     <h:outputText value="Filter AHVNR: "/> 

                          <h:inputText value="#{bean.ahvFilter}">

                               <a4j:ajax event="blur" render="table" execute="@this" />

                          </h:inputText>

                 </h:panelGroup>            

            </f:facet>

            <h:outputText value="#{data.ahvnr}" styleClass="mytext"/>

      </rich:column>

               

      Thank you in advance for your answers.