Common GAS predefined resources

These Genero Application Server predefined resources are available for any Front End that uses a template (GWC, GDCAX).

These resources include:

Table 1. Common GAS predefined resources
Predefined Resource Description
application.id Application identifier in as.xcf or, in the case where an external application configuration file is used, the name of the .xcf file.
application.group Application Group name.
application.name Application name.
application.path

Handles the path of the application (the path defined in the /APPLICATION/EXECUTION/PATH element).

For example, we can define the resource domain "Image" as follows:
<WEB_APPLICATION_PICTURE_COMPONENT Id="cpn.gwc.picture">
  ...
  <PATH Id="Image" Type="APPSERVER">
   $(res.path.pic);$(application.path)</PATH>
  ...
</WEB_APPLICATION_PICTURE_COMPONENT>
connector.uri

Will be replaced by the URL path to the connector.

For example, if the URL is:
http://localhost/gas/wa/r/demo?Arg=val1&Arg=val2

The URL path to the connector will be /gas.

server.version Will be replaced by GAS version.
configuration.filepath The absolute path of the configuration file used to start the GAS.