Tuesday, July 16, 2013

Dialog Listener of a Popup dialog

    public void onExDetailsDialoglistener(DialogEvent dialogEvent) {
        // Add event code here...
        if(dialogEvent.getOutcome()==DialogEvent.Outcome.ok){
            AdfFacesContext.getCurrentInstance().addPartialTarget(exampleDetailTable);
        }
       
    }


    public void onExDocDialogListener(DialogEvent dialogEvent) {
        // Add event code here...
        if(dialogEvent.getOutcome()==DialogEvent.Outcome.ok){
            AdfFacesContext.getCurrentInstance().addPartialTarget(exampleTable);
        }
    }

No comments: