Requirment – 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 like screenshot
On the button , write a method on the action event.
public void ShowPopup(ActionEvent actionEvent) { RichPopup.PopupHints hints = new RichPopup.PopupHints(); this .getPopUp().show(hints); } |
If you want to hide the popup..you can write like this
public void HidePopup(ActionEvent actionEvent) { RichPopup.PopupHints hints = new RichPopup.PopupHints(); this .getPopUp().hide(); } |
No comments:
Post a Comment