OLAT AJAX mode

OLAT can be run in two modes. Either in normal mode where with each request every component visible on the screen gete rerendered and sended as a whole html page to the client. In the normal mode every component renderer or velocity page that belongs to a component gets rendered and packt together into a whole html page. The other mode, called AJAX mode works different. In the AJAX mode all (most) links are sended to a background target which is an hidden Iframe. The server then goes again through the render three and rerenders only the components that are dirty. The dirty components are rerenderd as html fragments and packed into a json object and send back to the hidden Iframe. When they are arrived the browser replaces the dirty stuff by dom replacements.

To differ the uri's on the page they are tainted: