Web component widget

The WebComponent item type defines a generic form field that can receive an external widget.

Properties

color, colorCondition, componentType, comment, defaultValue, fontPitch, hidden, include, justify, noEntry, notNull, properties, required, scrollbars, sizePolicy, style, stretch, tabIndex, tag, Validate Like

Usage

The WebComoponent item type defines a form field which can be implemented with a plug-in mechanism on the front-end side.

You must define the type of the widget with the componentType property. This property is mandatory to identify the external widget that will be used for this field.

The scrollbars and stretch properties can be used to define the behavior of the widget regarding sizing.

The properties property is typically used to define properties that are specific to a given WebComponent. For example, a chart component might have properties to define x-axis and y-axis labels.

The value of a WebComponent field is usually (XML) formatted, and holds the data that will be rendered by the external widget through the JavaScriptâ„¢ shell.

Note: In order for a WebComponent to be listed in the componentType list, it must be described in an XML file contained in the directory that you specified in GSTWCDIR.

See the topic on WebComponents in the BDL User Guide for more information.