1 Reply Latest reply: Oct 9, 2012 3:01 PM by Frank Nimphius-Oracle RSS

    Unable to display success/err message when navigating between BTF's (popup)

    Pola
      JDev Version: 11.1.1.6.0

      I have 2 BTF, one for Employee and one for Department

      - User navigates to Employee page (in Employee_BTF)
      - Edits employee information, Success message is shown in UI. Even error message is shown properly.

      - There is a 'Department' button in Employee page. On click of this, Department page will be opened in Popup
      - Once Department popup is opened and closed, Sucess / Error message will not be shown in Employee page.

      Following code will set Success or Failure message,
      FacesContext facesContext = FacesContext.getCurrentInstance();
      facesContext.addMessage(null,new FacesMessage(FacesMessage.SEVERITY_INFO, "Saved successfully" ,null));

      In jsff:
      +<af:messages id="m2" globalOnly="true" inline="true"inlineStyle="padding:10px;"/>+

      Is it because, when user navigates between BTF's, facess context is lost?