• Post Reply Bookmark Topic Watch Topic
  • New Topic

h:messages issue  RSS feed

 
Ayub ali khan
Ranch Hand
Posts: 395
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

When I click the button, in the managed bean, following steps will be executed

FacesContext context = FacesContext.getCurrentInstance();
context.addMessage (null, new FacesMessage("Step was created successfully"));

in my jsp I have the following code:

<h:messages style="color: blue" globalOnly="true" showDetail="false" showSummary="true"/>

However the message is not being displayed in jsf, any clues on what I am doing wrong ?

Thank you.

Regards
Ayub
[ May 13, 2007: Message edited by: Ayub ali khan ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!