1 public void popupCancel(PopupCanceledEvent popupCanceledEvent) { 2 // Add event code here... 3 System.out.println("In cancel listener"); 4 AdfFacesContext.getCurrentInstance().addPartialTarget(d1); 5 }