8 Replies Latest reply on May 15, 2013 5:16 AM by Ashish Awasthi

    Displaying FacesContext messages on top of the page

      Hi All,

      I am using jdev . I want to display FacesContext messages as output text on top of the page, but i am able to display these messages as pop up. I tried with <af:message/> tag still it is displaying as popup.Following is the code which i used.

      FacesContext fcx = FacesContext.getCurrentInstance();
      FacesMessage msg = new FacesMessage("Enter comments");
      fcx.addMessage(null, msg);
      return null;