There is commandButton in modalPanel, click this button will search data from db, then display them in datatable in modaPanel.
I got an issue, when click on the button, the modalPanel will disappear, what's the problem?
some code likes below:
<rich:modalPanel id="selUniUserPanel" width="750" height="400">
...
<a4j:commandButton action="#{UserLookupBean.queryUsers}" reRender="userSearchResult" limitToList="true" value="Search" styleClass="searchBtn" id="searchbtn">
...
post the entire xhtml. is the commandButton embedded in the modalPanel?
the commandButton is most likely submitting a form and then the facelet is being re-rendered.