When a Genero Browser Client (GBC) application starts, a bootstrap mechanism is called to initialize information.
To start a GBC-type application, enter the URL of your application into your browser:
http://host:port/gas/ua/r/group/myapp
As the application starts, a bootstrap.html
file is called. This bootstrap page loads the required JavaScript files and provides information for rendering the application:
- application style sheet
- application icon
- JavaScript injectors
The bootstrap is configured in the GBC
element of the application configuration.
The bootstrap.html
file, including all the resources required for rendering the application, is located in a directory referenced by the _default
file set by the GBC
element, where "_default
" is a file located in $FGLDIR/web_utilities/gbc
If using a customization client, "_default
" is a file found in the GBC_LOOKUP_PATH
of the Genero Application Server (GAS). See the Test using the standalone GAS section of Set up your GBC build environment.
Variables injected by the GAS
When the GBC is launched, it receives information from the GAS in the form of resources it needs to deliver and manage the running application. These are specified in the __gbcBootstrap
variable.
IMPORTANT: This implementation is reserved for internal use and is subject to change without notice. It must not be modified in any way.