| GAS Configuration Reference / Configuration file elements | |
The UA_OUTPUT_COMPONENT element sets configuration for UA_OUTPUT that define settings for an application delivered by the UA proxy.
<UA_OUTPUT_COMPONENT Id=component-id >
<PROXY>...</PROXY>
<PUBLIC_IMAGEPATH>...</PUBLIC_IMAGEPATH>
[<TIMEOUT>...</TIMEOUT>]
[<GWC-JS>...</GWC-JS>]
</UA_OUTPUT_COMPONENT>
The UA_OUTPUT_COMPONENT element may contain the following child elements:
You use this element to provide your application with a base set of UA parameters. UA components provide instructions on the resources used by the application; such as the proxy, the GWC-JS, timeouts, or path to public images.
This element is defined within the COMPONENT_LIST element of the GAS configuration file.
<UA_OUTPUT_COMPONENT Id="cpn.wa.output"> <PROXY>$(res.uaproxy.cmd)</PROXY> <PUBLIC_IMAGEPATH>$(res.public.resources)</PUBLIC_IMAGEPATH> <TIMEOUT Using="cpn.wa.timeout"/> <GWC-JS>$(res.gbc)</GWC-JS> </UA_OUTPUT_COMPONENT>
<APPLICATION Id="defaultwa" Abstract="TRUE">
<EXECUTION Using="cpn.wa.execution.local"/>
<AUTO_LOGOUT Using="cpn.wa.autologout"/>
<UA_OUTPUT Using="cpn.wa.output"/>
</APPLICATION>
This example shows a typical external application configuration. The default Web application configuration Parent="defaultwa" is referenced in the APPLICATION element. Through this the application inherits an implicit set of default UA resources for the application.
The only elements explicitly defined for the UA_OUTPUT element is <GWC-JS>myGwcJs</GWC-JS> . This specifies a specific GWC-JS that overrides the inherited one.
<?xml version="1.0" encoding="UTF-8"?>
<APPLICATION xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Parent="defaultwa"
xsi:noNamespaceSchemaLocation="http://www.4js.com/ns/gas/3.00/cfextwa.xsd">
<RESOURCE Id="res.public.webcomponents" Source="INTERNAL">deployment/$(res.deployment.basename)</RESOURCE>
<RESOURCE Id="res.public.resources" Source="INTERNAL">deployment/$(res.deployment.basename)
$(res.path.separator)common</RESOURCE>
<RESOURCE Id="res.deployment.basename" Source="INTERNAL">ggc-quick-start</RESOURCE>
<RESOURCE Id="res.deployment.path" Source="INTERNAL">$(res.deployment.root)/$(res.deployment.name)</RESOURCE>
<RESOURCE Id="res.deployment.name" Source="INTERNAL">ggc-quick-start-20181019-101007</RESOURCE>
<EXECUTION AllowUnsafeSession="TRUE">
<PATH>$(res.deployment.path)/.</PATH>
<MODULE>price</MODULE>
</EXECUTION>
<UA_OUTPUT>
<GWC-JS>mygbc</GWC-JS>
</UA_OUTPUT>
</APPLICATION>
This element is a child of the COMPONENT_LIST element.