| GAS Configuration Reference / Configuration file elements | |
The GWC-JS element defines the customization directory for the Genero Web Client for JavaScript (GWC-JS) front-end.
<GWC-JS>gwc_js_dir</GWC-JS>
The Genero Application Server (GAS) searches for this directory in GWC_JS_LOOKUP_PATH paths. If gwc_js_dir is found, it is expected to be a GWC-JS installation containing the bootstrap file (bootstrap.html).
You use this element to specify a customization directory for the GWC-JS. This directory contains a collection of HTML, CSS, JavaScript files, and all the resources required for rendering Web applications.
...
<APPLICATION Id="defaultwa" Abstract="TRUE">
<!-- This is the "default" application.
It is not used directly: it is used for defining a "root" application. -->
<EXECUTION Using="cpn.wa.execution.local"/>
<UA_OUTPUT>
<PROXY>$(res.uaproxy.cmd)</PROXY>
<PUBLIC_IMAGEPATH>$(res.public.resources)</PUBLIC_IMAGEPATH>
<TIMEOUT Using="cpn.wa.timeout"/>
<GWC-JS>$(res.gwc-js)</GWC-JS>
</UA_OUTPUT>
...
<RESOURCE Id="res.gwc-js" Source="INTERNAL">gwc-js</RESOURCE>
<GWC-JS>gwc-js-custom</GWC-JS>
In this example, you create a new set of files to customize the look and feel of a Web application in a separate directory to the default bootstrap, for example, $(res.path.as)/gwc-js-custom. The GAS searches for the GWC-JS directory at paths defined by the GWC_JS_LOOKUP_PATH.
There are no child elements.
This element is a child of the following elements: UA_OUTPUT