Thursday, September 7, 2017

How To: Launch a popup programmatically (ADF)

Create a binding for the popUp in the backing bean and use the following snippet to launch it programmatically

public class BackingBean {
/* Binding for popUp */
private RichPopup supplierLOVPopup;
public RichPopup getSupplierLOVPopup() {
return supplierLOVPopup;
}
public void showSupplierLOVPopup(){
RichPopup.PopupHints hints = new RichPopup.PopupHints();
this.getSupplierLOVPopup().show(hints);
}
}





Hope you find this helpful! Please share your feedback below.

CaptiveCode


No comments:

Post a Comment