Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

header does not display error messages on page load

varun rao
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on trying to get the page to display messages on page load. The messages tag is in the header of the page and the body runs some stats, which could lead to an exception.
I was wondering is there was a way in JSF to show those images on the header.
Also, if i move the messages tag to the footer the messages show up fine.

It looks something like this:

header -- > messages tag here does not show the exception message.
body ---> exception while rendering
footer ---> If the messages tag is kept here it shows up fine.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic