Saturday, November 24, 2012

ADF: How to Implement Edit with Double Click ?

ADF: How to Implement Edit with Double Click ?











------------------




-------------------------









------------------------









-----------------------------




----------------------------


public class TestBean {
    private RichPopup popup;

    public TestBean() {
    }

    public void setPopup(RichPopup popup) {
        this.popup = popup;
    }

    public RichPopup getPopup() {
        return popup;
    }

    public void popupCancel(ActionEvent actionEvent) {
        FacesContext context = FacesContext.getCurrentInstance();
        RichPopup popup = getPopup();
        popup.hide();
    }
}