Preventing user to click on links once form submitted
843844Feb 11 2009 — edited Feb 19 2009Hi All,
Preventing end user to click on any links once he/she submitted the form until he/she received a response from it.
I can use filter or shale techniques for this, but it prevents the multiple form submits but not the links.
(ie, hyperlinks cant control with the above techniques I suppose.)
I also used hourglass technique of Javascript. It will show you the hour glass icon once you submitted the form/page.
Mean while if you mouse over any links on the page (I have other command links on the same page), the hourglass icon showing with hand icon.
<tr:commandButton provides one attribute blocking=true, is not working in this condition.[setting true blocking user input when the action is initiated and will stop when response received from server.]
At least if I provide a progress indicator by using <tr:progressIndicator, well enough to the user as some process is going on so that end user can wait for some time.
I have gone through in detail about it - http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_progressIndicator.html
Please provide your inputs, how to implement by using <tr:progressIndicator for my <tr:commandButton.
Or any other fruitful solution for this?
Thanks in advance :-)