Common GAS predefined resources

These Genero Application Server predefined resources are available for any front-end .

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 more information on application URIs See Table 1.

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

The value of connector.uri will be /gas.

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