aspose file tools*
The moose likes JSF and the fly likes Figuring out how far in the JSF request life-cycle we got Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Figuring out how far in the JSF request life-cycle we got" Watch "Figuring out how far in the JSF request life-cycle we got" New topic
Author

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

Rob Micah
Ranch Hand

Joined: Aug 30, 2011
Posts: 94
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

Joined: May 12, 2009
Posts: 218
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Figuring out how far in the JSF request life-cycle we got