Description
Web Component nodes can be used inside a FormSection node to add a Web Component to an interface generated with K2BTools patterns.
The following shows a sample form section created using a web component. This web component simply contains a textblock with a message.
 |
 |
Web Component Definition |
Web Component Runtime Appearance |
Category |
Name |
Value |
General |
Name |
Contains a name for this control. Must be unique in the interface it is contained in. May be used in user events to reference the control. |
GXObject |
References the web component object that will be used in this node. |
Form |
Layout |
Position where the web component should be placed inside the screen. Possible values are: Bottom, Top, Right, Left. See FormSection for more details. |
USING "ARGUMENTS" NODES:
When the WebComponent object includes parameters, Arguments nodes may be included to instantiate those parameters. In order to do so, an Arguments node must be added as a child of the WebComponent node, and Argument nodes must be added to that node. The amount of Argument nodes must match the amount of parameters in the WebComponent object. Each Argument node must specify a value for the corresponding parameter in its "Value" property.
|
|