Просмотр исходного кода

Update datamodel-forms.asciidoc (#11496)

tags/8.8.0.beta1
alexandruchiuariu 5 лет назад
Родитель
Сommit
9ebb228206
1 измененных файлов: 2 добавлений и 0 удалений
  1. 2
    0
      documentation/datamodel/datamodel-forms.asciidoc

+ 2
- 0
documentation/datamodel/datamodel-forms.asciidoc Просмотреть файл

@@ -14,6 +14,8 @@ Vaadin Framework provides a [classname]#Binder# class that the developer can use
[classname]#Binder# takes care of reading values from the business object and converting the user's data between the format expected by the business object and the format expected by the field.
The input entered by the user can also be validated, and the current validation status can be presented to the user in different ways.

TIP: Watch the https://vaadin.com/training/course/view/data-binding-and-validation[Vaadin 8: Data binding and validation] free training video to learn more about creating simple and complex forms, value conversion and validation, and how the Vaadin data model works.

The first step to binding fields for a form is to create a [classname]#Binder# and bind some input fields. There is only one [classname]#Binder# instance for each form and it is used for all fields in that form.

[source, java]

Загрузка…
Отмена
Сохранить