wood burning stoves 2.0*
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
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?

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSF refresh question
 
Similar Threads
Datatable Refresh Issue
Continuous polling JSF component to refresh its state
Data transfer between Servlet and JSP
Immediate=True
JSF web DB