-
Notifications
You must be signed in to change notification settings - Fork 4
DynamicField
Lateef Ojulari edited this page Dec 18, 2019
·
2 revisions
A DynamicField is an input control whose rendered form is determined by the resolved value of its descriptorBinding attribute. The resolved value, discerned at runtime, is a UPL descriptor of a control that will be rendered in position the DynamicField. This allows you to change the type of input control displayed based on some business logic at runtime.
Listing 1: DynamicField UPL
!ui-dynamic:collateralReq
caption:$s{Requirement}
binding:requirement
descriptorBinding:inputControl
Listing 2: Loan Application Page Bean
LoanApplicationPage pageBean = ...
pageBean.setRequirement(RequirementType.OPTIONAL);
pageBean.setInputControl("!ui-select list:requirementtypelist");| Name | Required | Type | Description |
|---|---|---|---|
| descriptorBinding | true | String | Specifies the name of bean property or container scope attribute whose value is the UPL descriptor of the component to be rendered. |
- Unify Container
- Unify Component
- Unify Page Language
- Core Components
-
Web Components
-
Basic Widgets
- AssignmentBox
- Button
- CheckBox
- CheckList
- DateField
- DecimalField
- DropdownCheckList
- DynamicField
- FileAttachment
- FileDownload
- FileUpload
- Image
- IntegerField
- Label
- MoneyField
- MultiDynamic
- MultiSelect
- NameField
- PasswordField
- Picture
- Rack
- RadioButtons
- SearchField
- SingleSelect
- Table
- TextArea
- TextField
- TimeField
- WordField
- Container Widgets
- Layout
-
Controllers
- PageController
- ResourceController
- RemoteCallController
- PlainController
-
Basic Widgets