WEBCOMPONENT item definition

Defines a generic form field that can receive an external widget, in a grid-based layout.

Syntax

WEBCOMPONENT item-tag = field-name [ , attribute-list ] ;
  1. item-tag is an identifier that defines the name of the item tag in the layout section.
  2. field-name identifies the name of the screen record field.
  3. attribute-list defines the aspect and behavior of the form item.

Attributes

COLOR, COLOR WHERE, COMPONENTTYPE, COMMENT, DEFAULT, FONTPITCH, HEIGHT, HIDDEN, INCLUDE, JUSTIFY, NOT NULL, NOENTRY, PROPERTIES, REQUIRED, SCROLLBARS, SIZEPOLICY, STYLE, STRETCH, TAG, TABINDEX, TITLE, UNSORTABLE, UNSIZABLE, UNHIDABLE, UNMOVABLE, VALIDATE LIKE, WIDTH.

Usage

Define the rendering and behavior of a web component item tag, with an WEBCOMPONENT element in the ATTRIBUTES section.

For more details about this item type, see WEBCOMPONENT item type.

Example

LAYOUT
GRID
{
[f1             ]
[               ]
[               ]
 ...
[f2             ]
[               ]
[               ]
 ...

}
END
END

ATTRIBUTES

-- URL-based web component (recommended):
WEBCOMPONENT f1 = FORMONLY.mymap,
     STRETCH=BOTH;

-- gICAPI web component:
WEBCOMPONENT f2 = FORMONLY.mycal,
     COMPONENTTYPE="Calendar", -- lookup "Calendar.html"
     STRETCH=BOTH, STYLE="regular";