ajax file upload and block page from other user actions

View: New views
1 Messages — Rating Filter:   Alert me  

ajax file upload and block page from other user actions

by fachhoch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am using
http://blog.demay-fr.net/index.php/2007/12/07/93-simulate-ajax-file-upload-with-wicket
article to do upload files through ajax.

the code from the article does the ajax file upload and it displays a   busy
icon  (a revolving circle ) while upload is in progess  ,
but does not stop user from doing other actions like he can  again  click on
the browse button  (for upload ) , select a file click upload  button  or
click on any other link to  navigate  from this page ,
for all other ajax request we use

http://www.nabble.com/generalized-way-to-ignore-mouse-input-during-screen-refresh--td21379945.html#a21381260

the  code from above link       works well it changes the cursor to wait
cursor and displays a loading symbol , so user cannot click on any other
link while an ajax request is in progess  ,please suggest me if I can get
the similar behaviour with ajax file   upload  ?