File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF refresh question

 
Luke Murphy
Ranch Hand
Posts: 300
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic