Customize the bootstrap template to initialize information for the application

You can use the bootstrap template to initialize information before starting the application.

The bootstrap template bootstrap.xhtml is called the first time the application is started (wa/r/myapp). This first page will collect information about the user agent (UA) for the rendering, such as:

This information is collected by javascript on the client side. The information is always collected at the start of the application.

The bootstrap.xhtml snippet, as with all HTML5 snippets, is located in $FGLASDIR/tpl/setHtml5.