[jboss-user] [JBoss Seam] - Prevent Multiple Clicks in PageFlow

djeverson do-not-reply at jboss.com
Mon Jun 11 12:49:21 EDT 2007


We have implemented a pageflow that walks a user through a "wizard" to accomplish a task. 

We have discovered that the users sometimes double click on the "next >" button.  On some of the steps in the wizard, the database is getting duplicate data inserted. 

We have implemented some short-term/stop-gap measures to prevent the duplicate data in the service layer of our app. 

However, we were curious if there is a best practice that others have used to solve this problem?  

We are particularly interested if anyone has addressed this issue on a credit card payment screen.  We would like to remove the button after the user clicks on it and replace it with a progress bar.  

Is ajax4jsf suited for this task?  If so, does anyone have any examples?

Thanks!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053197#4053197

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053197



More information about the jboss-user mailing list