aspose file tools*
The moose likes JSF and the fly likes Making sure no user input is allowed whilst server is processing...[ajax for jsf] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Making sure no user input is allowed whilst server is processing...[ajax for jsf] " Watch "Making sure no user input is allowed whilst server is processing...[ajax for jsf] " New topic
Author

Making sure no user input is allowed whilst server is processing...[ajax for jsf]

Julien Martin
Ranch Hand

Joined: Apr 24, 2004
Posts: 384
Hello all,
I am wondering if it is possible to make sure that no user input is possible/allowed whilst the server is processing in other words when the "startText" of the a4j:status is displayed. Do I need some sort of a modal component? Any best practice one of you could advise? How can I disable all of the screen whilst the ajax request is processing??
Thanks in advance,
Julien.
Fabio Lin
Greenhorn

Joined: Oct 21, 2005
Posts: 12
You may put a div with a higher z-index in front of the page.
A. Dusi
Ranch Hand

Joined: Sep 27, 2004
Posts: 114
Hi,

Giving the div a higher z-index did not solve my problem. The elements on the div in the back are still clickable.
Did anyone find a solution to this? I am using MyFaces and Tomahawk.

Thanks for your time.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Making sure no user input is allowed whilst server is processing...[ajax for jsf]