File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Software Craftsman this week in the Agile 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?

 
Don't get me started about those stupid light bulbs.
 
subject: JSF refresh question