File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF refresh question" Watch "JSF refresh question" New topic

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?

I agree. Here's the link:
subject: JSF refresh question
It's not a secret anymore!