2 Replies Latest reply on Nov 17, 2008 5:02 PM by demetrio812

    inplaceInput and filterBy

    demetrio812 Apprentice

      I have this code:

       <rich:dataTable value="#{gestioneFilesHelper.documenti}" var="documento" >
       <f:facet name="header">Files utente</f:facet>
       <rich:column sortBy="#{documento.nome}" filterBy="#{documento.nome}">
       <f:facet name="header"> <h:outputText value="Nome" /> </f:facet>
       <rich:inplaceInput defaultLabel="nome" minInputWidth="200px" selectOnEdit="true" value="#{documento.nome}">
       <a:support event="onviewactivated" action="#{articoloEditorDocumenti.updateDocumento(documento)}"></a:support>

      but when I try to filter the table became empty and doesn't work anymore...

      Deleting the inplaceInput and putting a simple outputText make the filter working...

      Is it a bug or a problem of my code?



        • 1. Re: inplaceInput and filterBy
          Ilya Shaikovsky Master

          checked within richfaces-demo code

           <rich:dataTable value="#{capitalsBean.capitals}" var="cap" rows="20" reRender="ds" id="simpletable">
           <f:facet name="header">
           <rich:column colspan="2" >
           <h:outputText value="Filtering Example"/>
           <rich:column breakBefore="true">
           <h:outputText value="State Name"/>
           <h:outputText value="State Capital"/>
           <rich:column filterBy="#{cap.state}" filterEvent="onkeyup" sortBy="#{cap.state}">
           <f:facet name="header">
           <h:outputText value="Cap State"></h:outputText>
           <rich:inplaceInput value="#{cap.state}"/>

          Works fine for me using filtering using latest jars.

          Send me war sample if you able.

          • 2. Re: inplaceInput and filterBy
            demetrio812 Apprentice

            thanks I'll find the time and I'll send it...