0 Replies Latest reply on May 7, 2012 9:43 AM by veniero merlini

    RichFaces 3.3. - rich:datascroller doesn't refresh

    veniero merlini Newbie

      hi everyone,

      I put my rich:datascroller inside a rich:datatable (in a footer facet) inside an a4j:form.

       

       

      <a4j:form id="myform">

                   <rich:dataTable value="#{userService.listaUtenti}" var="site"

                      id="mytable" reRender="ds" rows="1"   >

              

             <f:facet name="header">

                          <rich:columnGroup>

                              <rich:column>

                                  <h:outputText value="ID" />

                              </rich:column>

                              <rich:column>

                                  <h:outputText value="Nome" />

                              </rich:column>

                                </rich:columnGroup>

                      </f:facet>

       

                      <f:facet name="footer">

                          <rich:datascroller for="mytable" reRender="myform"/>

                      </f:facet>

       

                      <rich:column>

                          <h:outputText value="#{site.user.index}" escape="false"

                              rendered="#{not site.user.editable}" />

                      </rich:column>

                      <rich:column>

                          <h:outputText value="#{site.user.nome}" escape="false"

                              validator="#{modelloUtente.validateName}"

                              rendered="#{not site.user.editable}" />

                      </rich:column>

                      <rich:column>

                          <h:outputText value="#{site.user.cognome}" escape="false"

                              rendered="#{not site.user.editable}"

                              validator="#{modelloUtente.validateName}" />

                      </rich:column>

                   

                      <rich:column>

                          <h:commandButton value="_" reRender="modificaPanel"

                              action="editUtente" styleClass="pulsanteModifica">

                              <f:setPropertyActionListener

                                  target="#{userService.utenteDaModificare}" value="#{site}" />

                          </h:commandButton>

                      </rich:column>

                  </rich:dataTable>

       

       

       

      the problem is that the page is not refreshed. Can someone fix this?

      I use jsf 1.2, and facelet 1.1.12.

       

      I apologize if my English language is uncorrect.