Create a binding for the popUp in the backing bean and use the following snippet to launch it programmatically
CaptiveCode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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