How To Hide Show popup -
Requirement – To display popup in adf programmatic.
You have to display the popup on click of some button. Drag drop the af:popup in the page and bind the popup in the managed bean.
Below are the steps-
Step1- create a variable private RichPopup popup; in manage bean and setter/getter.
Step2- create binding in popup.
Write the below code in your method-
Cheers Guys :) will catch you soon with new post .
Write the below code in your method-
public void ShowPopup(ActionEvent actionEvent) { RichPopup.PopupHints hints = new RichPopup.PopupHints(); this .getPopUp().show(hints); } |
If you want to hide the popup..write below code -
public void HidePopup(ActionEvent actionEvent) { RichPopup.PopupHints hints = new RichPopup.PopupHints(); this .getPopUp().hide(); }
|