2 Replies Latest reply on Apr 23, 2010 7:02 AM by anis jaballah

    reRender and oncomplete in a4j:commandButton

    anis jaballah Newbie



      I have <a4j:commandButton action="#{action}"  value="Validate" oncomplete="functionjs();" reRender="modalpanelsignature">.


      I want to execute the functionjs() after rerendering the modalpanel because that javascript function will execute soma code and then display the modalpanel.


      So, is the rerender is executed always befaure oncomplete and is that guaranted ?


      thanks in advance