Add a WebComponent to a form

Each WebComponent widget is described in an XML description file having the extension .wcsettings.

All the description files must be stored in a single directory. This directory must also contain any icon files to be displayed on the form design page for the WebComponent. Specify the directory using the GSTWCDIR environment variable in a Web Component environment set. See Environment sets. Once you have set this directory, you may add the widgets to your form design documents.
  1. Select Widget>>WebComponent from the Genero Studio menu and add the widget to the form.
  2. Choose the specific WebComponent from the combobox for the componentType property.

When you add a WebComponent to your form design, a standard image is displayed in the form, indicating that the object is a WebComponent. The componentType property in the WebComponent section of the Properties View allows you to select the specific WebComponent that you wish to add. Once you select the component, the properties specific to that component are also listed in the Properties view; if an icon associated with this component has been created for the form design page, it will be displayed.