Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic