1 Reply Latest reply on Jun 19, 2008 8:04 PM by Sergey Smirnov

    Possible to stop user inputs when till ajax request finishes

    Mark French Newbie


      I was wondering if its was possible to display a progress bar and block user input on a form till the ajax request has finished e.g. oncomplete. Thats make it synchronous?



        • 1. Re: Possible to stop user inputs when till ajax request fini
          Sergey Smirnov Master

          a4j:status allows to define variable various content during the Ajax is in progress (with facet). So, you can define transparent of halt-transparent element over the rest content (i.e. with high z-index) that blocks the rest of the page. Usually, the ifame is used.
          Similar approach is used for block the rest of the page when modal panel is shown.
          Actually, you can even reuse rich:modalPanel itself if you make it completely transparent using CSS. The only blocker will work.
          Try to search on this forum or google the internet. You are not the first one who ask for it.