You need to sign in to do that
Don't have an account?

Disable buttons on a visualforce page after clicking some button/link until finishing processing
Hi everyone!
I have a visualforce page that contains a pageBlockButtons for Save/Cancel (1), and a pageBlockTable which one of the columns is a commandLink or commandButton (2) corresponding to an action to be done on that row's data.
Just to clarify what my buttons will do, the (1) buttons will already redirect the user to the previous page, but the (2) buttons/links will alter the data in the pageBlockTable and refresh the table.
But I want to avoid my users to be clicking endlessly with impatience and firing multiple events at once, so I would like to disable clicking any of those options (1 or 2) whenever one of them is pressed and while has not finishing processing. How can I do that?
Thanks in advance.
I have a visualforce page that contains a pageBlockButtons for Save/Cancel (1), and a pageBlockTable which one of the columns is a commandLink or commandButton (2) corresponding to an action to be done on that row's data.
Just to clarify what my buttons will do, the (1) buttons will already redirect the user to the previous page, but the (2) buttons/links will alter the data in the pageBlockTable and refresh the table.
But I want to avoid my users to be clicking endlessly with impatience and firing multiple events at once, so I would like to disable clicking any of those options (1 or 2) whenever one of them is pressed and while has not finishing processing. How can I do that?
Thanks in advance.
Hope this Link helps
http://techsahre.blogspot.in/2011/12/overlay-effect-for-vf-form-submit.html
All Answers
Hope this Link helps
http://techsahre.blogspot.in/2011/12/overlay-effect-for-vf-form-submit.html
The overlay.zip file that he uses in the article is no longer available, but the article was very helpful.
I have just found another solution that works great: http://blog.elieperez.net/loading-icon-visualforce-page/
Best regards.