0 Replies Latest reply on May 16, 2017 7:57 AM by silva_katielen

    How can update the page automatically

    silva_katielen

      Hi,

       

      I have the code that edit information in date base, which the user edit. I need the page update automatically along when the user push the corfirm button with the new information.

       

      <a4j:commandButton

        styleClass="botaoAtivado"

        action="#{beanCadastro.alterarCadasto}"

        oncomplete="Richfaces.hideModalPanel('editarCadastro')"

        value="#{lblMsg.lbConfirmar}"

        reRender="tbOSMestre,globalMessage">

        <f:ajax execute="@form" render="@form" />

        </a4j:commandButton>