gwa.location.reload()

Reloads the application page.

Syntax

FUNCTION reload()

Reloads the application page either immediately or with a 50ms delay.

Usage

The gwa.location.reload() method is a wrapper for the JavaScript API window.location.reload object. For more information about the JavaScript API, refer to Location: reload() method (external link). This method reloads the page you are running on, in other words it restarts your GWA application. Its use is only recommended for the purpose of updating a GWA application immediately.

For an example, run the GWA "update" demo in your GWA installation directory. If installed in FGLDIR, you will find the demo in $FGLDIR/demo/update or if installed in a separate directory, you will find it in gwa-install-dir/demo/update.