4 Replies Latest reply on Jun 13, 2013 10:41 AM by Andries Botlhale Mashile

    component reRendered before action execution

    Juan Martin Chiaradia Newbie

      Hello, I have the following problem:


      I have an a4j:commandButton with an action an a reRender:


      <a4j:commandButton
           action="#{bean.doAction()}"
           oncomplete="Richfaces.showModalPanel('ControlLFMP')"
           reRender="EditControlLFUC"
           value="Edit Control" />



      As I understand this, the EditControlLFUC component should be reRendered after the doAction is executed.
      My problem is that the component is been reRendered before the doAction is executed and because of this the values of the EditControlLFCU component are not correct.


      Could anyone help me?


      Regards,
      Chiara