9 Replies Latest reply on Mar 26, 2007 1:19 PM by Sergey Smirnov

    a4j:commandButton rerender

    maitre - Newbie

      Is it possible to rerender a a4j:commandButton from another button using ajax request.

      <a4j:commandButton
      rendered="${Bean.moveFirstPossible}"
      id="moveFirst"
      reRender="dataTable,moveFirst,movePrevious"
      actionListener="${Bean.moveFirst}"
      />

      <a4j:commandButton
      rendered="${Bean.movePreviousPossible}"
      id="movePrevious"
      reRender="dataTable,moveFirst,movePrevious"
      actionListener="${Bean.movePrevious}"
      />

      In my actionListener the values of moveFirstPossible and movePreviousPossible change but all button are still visible.
      When I reload the entire page, I got the right result.