Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Rob Micah
Ranch Hand
Posts: 108
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!