use of org.kie.workbench.common.forms.common.rendering.client.widgets.flatViews.impl.DateFlatView in project kie-wb-common by kiegroup.
the class DatePickerFieldRenderer method getFormGroup.
@Override
protected FormGroup getFormGroup(RenderMode renderMode) {
DefaultFormGroup formGroup = formGroupsInstance.get();
if (renderMode.equals(RenderMode.PRETTY_MODE)) {
formGroup.render(new DateFlatView(), field);
} else {
String inputId = generateUniqueId();
input = getDateWidget(inputId);
formGroup.render(inputId, input, field);
}
return formGroup;
}
Aggregations