This discussion is archived
8 Replies Latest reply: May 14, 2013 10:16 PM by Ashish Awasthi RSS

Displaying FacesContext messages on top of the page

tkondave Newbie
Currently Being Moderated
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;


  • Correct Answers - 10 points
  • Helpful Answers - 5 points