Wednesday 12 July 2017

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-
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();
 
  }


Cheers Guys :) will catch you soon with new post .


Eclipse With Python

Hi Guys, Today i'll share how to start python project in eclipse IDE. to start Py development in eclipse we need to add Py Dev plugi...