Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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.

DynamicField

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");

Attributes

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.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.