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).
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>
Important: Element order. If the
WEB_COMPONENT_DIRECTORY
element
is present, it must be set in the correct order within the parent element.Parent elements
This element is a child of one of the following elements: