This blog explains about how to hide a <af:popup> programatically ?
Resolution : Bind Popup Component to Managed Bean, Whenever you want to close the popup based on some condition , Get the instance of popup binding and invoke hide() operation.
public void closeCreatePopup() {
createPopupBinding.hide(); // createPopupBinding is popup binding
}
Resolution : Bind Popup Component to Managed Bean, Whenever you want to close the popup based on some condition , Get the instance of popup binding and invoke hide() operation.
public void closeCreatePopup() {
createPopupBinding.hide(); // createPopupBinding is popup binding
}
No comments:
Post a Comment