setWebComponentPath

Defines the base path where web components are located.

Syntax

Important: This feature is deprecated, and may be removed in a future version.
ui.Interface.frontCall("standard", "setWebComponentPath",
  [path], [])
  1. path - The base URL. For example, "http://myserver/components" or "file:///c:/components".

Usage

This front call defines the base path to find gICAPI web components files.

Important: The standard.setWebComponentPath front call is deprecated. Consider using deployment solutions described in Deploying the gICAPI web component files.

For the Genero Desktop Client, it defines the base path where web components are located, when GDC is directly connected to the runtime system. This is ignored when GDC is connected to the GAS.

For Genero Mobile, it sets the main web component lookup path. An URI is expected. For example, "file:///data/data/com.fourjs.gma/cache/appdata/mywebcomponents"or "http://mygas/mywebcomponents/".