This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I would like to block UI when the submit button is pressed. I would like to implement the following functionality: user click the submit button and the user interface is blocked after that, a loading image is displayed. User is redirected to a new screen when the struts2 action has finished the work.
I have tested jquery.blockUI.js and the user interface is blocked but I have a problem with integration of blockUI and struts2-jquery-plugin.
The project consists from two pages. If you press submit button on index.jsp page than the long action will be launched (for loop 50k). I would like to put uiblock to this page. How can I achieve this?
I also add a backup,jsp page. Try to click submit button on a backup.jsp page and you will get the animated gif. The animated gif should be presented when the user clicks on a long action button.