1 Reply Latest reply on Nov 25, 2010 4:22 AM by ilya_shaikovsky

    How to disable AJAX for entire page

    arc95

      Hi. I have a Seam/RichFaces page that needs to work on a special reverse-proxy system which doesn't like AJAX too much. The page in question uses AJAX to render elements to the page and display error messages. Is there a way to disable AJAX on individual elements or the whole page so the elements are rendered by sending a request to the server to process the entire page? Is it possible to do enable this via a button/link? Thanks.

        • 1. Re: How to disable AJAX for entire page
          ilya_shaikovsky

          you want to use the same page but with or without ajax for different environments? Actually only two ways :

           

          • create two pages
          • use conditional rendering for ajax controls (mark supports not rendered or conditionally render h:buttons or a4j:buttons for example)