Specify the GBC

A GBC must be bundled with the GWA.

The gwabuildtool selects the GBC at build time in the following order:
  1. The first option, is to use the GBC specified by the gwabuildtool --gbc gbc-directory build option.
  2. If the --gbc option is not specified, gwabuildtool will look for the FGLGBCDIR environment variable.
  3. Finally, it defaults to the FGLDIR/web_utilities/gbc/gbc directory if none of the previous options is set.

GBC is loaded in an iframe inside the GWA application, which means that the index.html of GWA is different from the index.html of GBC.

Any customization of the GBC is expected to work. GWA requires that GBCDIR/index.html exists and GBCDIR/VERSION exists.

Using GBC query strings

You can specify GBC query string options – "debugmode","contextmenu","mobileui", "theme" and so on – as you would with standard server applications.

For example, to load the GWA application in debug mode, start your application with gwarun. The URL may be something like this:
http://localhost:9103/d/r/index.html?fglapp=main.42m&uuid=gwarun2024_12_11_18_00_31_769&viaMiniWS=1
Add &debugmode=1 at the end of the URL and reload the application. On reload, the GBC debug icon should be visible in the chromebar at the top.

For more information about GBC query string options, refer to Query string parameters page in the Genero Browser Client User Guide.