2 Replies Latest reply on Aug 14, 2007 9:21 AM by igx89

    Make Ajax4JSF use absolute URL's?

      Is it possible to make Ajax4JSF use absolute URL's for its AJAX requests ("actionUrl" in A4J.AJAX.Submit(...) )? If not, any idea how hard it would be for me to add that in myself to its source?

        • 1. Re: Make Ajax4JSF use absolute URL's?

          Why do you need it? The only missing part is protocol and host name and browser do not allow ajax requests to any other host/protocol.

          • 2. Re: Make Ajax4JSF use absolute URL's?

            Ah, I had forgotten about that. In my situation, a "proxy" server (running servlet interceptors) sits between the actual server and the client, making it seem to the client that everything's coming from the proxy server.

            One solution might be to use Javascript to intercept the "A4J.AJAX.Submit" function; however, we've decided to take the easy way out and just use an IFrame :).