It's not a secret anymore!
The moose likes JSF and the fly likes JSF refresh question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF refresh question" Watch "JSF refresh question" New topic
Author

JSF refresh question

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
Ok so you are using a JSF architecture with backing beans.

You have a commit button on your view which invokes a handleCommit() method on your backing bean. This kicks off a commit sequence.

How do you deal with scenarios that the user hits refresh after the commit event has finished?

Basically you want to avoid double commits?

 
jQuery in Action, 3rd edition
 
subject: JSF refresh question
 
It's not a secret anymore!