use of org.kie.workbench.common.forms.model.DynamicModel in project kie-wb-common by kiegroup.
the class FieldPropertiesRenderer method doRender.
protected void doRender(FieldPropertiesRendererHelper helper, FormEditorRenderingContext context) {
FormModel roodFormModel = helper.getCurrentRenderingContext().getRootForm().getModel();
final DataBindingEditor editor = roodFormModel instanceof DynamicModel ? dynamicDataBindingEditor : staticDataBindingEditor;
editor.init(fieldCopy, this::getAvailableBindings, this::onFieldBindingChange);
view.render(helper, context, editor);
}
Aggregations