• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Figuring out how far in the JSF request life-cycle we got

 
Rob Micah
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sure there's an easy way to do this but I have writer's block at the moment. I have an <h:messages> tag at the top of my page I only want displayed if the user just submitted an invalid request. If he/she used the back button of their browser I don't want this displayed. So is there a way I can hook an expression up for this?
 
Brendan Healey
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think there's a queue, and .addMessage() will add one on, and h:message(s) will take it off. But it's a per
view queue? Ah, are you using session scoped beans? then I can see how this could happen.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic