![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
Embeddable Form A form that has been designed to be embedded is referred to as an embeddable form.Embedded Form Once a form is embedded within the parent form, it is referred to as an embedded form.This section describes the creation of embeddable forms and different gestures for embedding a form.
1. Go to the Forms folder, or any folder under the Forms folder in the Project Explorer and click Context Menu > New > Form. The New Form dialog opens.
2.
3. Figure 106 Using the Embedded Form Icon
2. The Select the form to embed dialog is displayed. All the forms available in all the projects in the workspace are listed in the dialog. Select the required form.
3. The Embedded Form dialog appears asking you to map the embedded form parameters in the ‘Mapping’ property section. Click Yes to continue or No to skip the parameter binding. See Working with Embedded Form Parameters for the details of parameter binding.Figure 107 Embedded Form Inserted in a Parent Form
For example: we have an embeddable form which contains a single pane that is bound to a parameter of particular type defined as a BOM class. This form is embedded in a parent form. You bind an embedded form parameter to one of the parent form’s IN OUT parameters of the same type. When the parent form is loaded with an instance of that parameter, the embedded form is updated via the binding. This is one of the mechanisms by which information is exchanged between the parent form and the embedded formFor example, data.getCustomerForm_Customer();To set the bindings from the Mapping tab, perform the following steps:
2. Figure 108 Set Binding Using the Mappings TabFigure 109 Preview Rendering of the Parent Form
2. Go to the Properties tab in the Properties view of the embedded form pane. The Form Reference displays a link to the embedded form.Figure 110 Properties Tab for the Embedded Form
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |