Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Julien Martin
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may put a div with a higher z-index in front of the page.
 
A. Dusi
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!