WEB_COMPONENT_DIRECTORY
The WEB_COMPONENT_DIRECTORY element specifies the path where Web
components for an application are located.
Syntax
<WEB_COMPONENT_DIRECTORY>path-list [;...] </WEB_COMPONENT_DIRECTORY>
- path-list specifies the paths to web component directories.
It allows for multiple paths to be specified, the separator used between resource paths is a semi-colon, ";".
Child elements
There are no child elements.
Usage
You use this element to define paths from where Web components are served. This element value added to the URL builds the path used to find a Web component.
The WEB_COMPONENT_DIRECTORY configuration only applies to Genero Desktop Client
(GDC) applications delivered via GAS, and Genero Browser Client (GBC).
appdir
appdir/main.42m
appdir/form1.42f
appdir/webcomponents/3DChart
appdir/webcomponents/3DChart/3DChart.htmlTypically, the base path for Web components of applications deployed via the GAS is
$(application.path)/webcomponents
Genero BDL provides a set
of standard Web components in $FGLDIR/webcomponents. If you want to use a
standard Genero Web component and you have defined a specific
WEB_COMPONENT_DIRECTORY entry in your application configuration file, you must add
$(res.fgldir)/webcomponents to the WEB_COMPONENT_DIRECTORY
entry.
Usage example
<WEB_APPLICATION_EXECUTION_COMPONENT Id="cpn.wa.execution.local">
...
<DELEGATE service="MyGroup/MyDelegateService"> ... </DELEGATE>
<WEB_COMPONENT_DIRECTORY>$(application.path)/webcomponents;
$(my.web.components)/static-files/webcomponents</WEB_COMPONENT_DIRECTORY>
</WEB_APPLICATION_EXECUTION_COMPONENT>
WEB_COMPONENT_DIRECTORY element
is present, it must be set in the correct order within the parent element.