I am using jsf reach faces in one application. I am using rich:modalPanel for popup reading some details and submitting tha panel using a4j command button after response from server I want to hide the modalPanel but don’t know how to,
I am still trying for the solution, Any help Please
The code of rich modalPanel is something like this.
<rich:modalPanel id="panelID" minHeight="200" minWidth="450" height="200" width="500">
<a4j:commandButton reRender="sampleID" action="#{SomeTestAction}" image="sample-button.gif"/>
</rich:modalPanel>
It is easy, you can write:
This solution is better, because you don’t need javaScript.
Or with javaScript
Or you can submit form, and popup disappear.
Where “
Id_form” – is id of the form where<rich:modalPanel>was shown.