The is page not render after click on button.
To get out of this problem you include a4j:support
component in between the a4j:commandButton
component. Mention the event
, reRender
attributes. Write the form id value in reRender
attribute.
<a4j:commandButton>
<a4j:support event="onclick, oncomplete" reRender="yourFormId" oncomplete="yourDivFun();"></a4j:support>
</a4j:commandButton>