diff options
Diffstat (limited to 'documentation/components')
-rw-r--r-- | documentation/components/components-fields.asciidoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/components/components-fields.asciidoc b/documentation/components/components-fields.asciidoc index e680ff4404..c963c96ebe 100644 --- a/documentation/components/components-fields.asciidoc +++ b/documentation/components/components-fields.asciidoc @@ -113,7 +113,7 @@ binder.bind(nameField, Person::getName, Person::setName); // After this, whenever the user changes the value // of nameField, p.setName is automatically called. Person p = new Person(); -binder.bind(p); +binder.setBean(p); ---- For more information on data binding, see <<dummy/../../../framework/datamodel/datamodel-forms.asciidoc#datamodel.forms,"Binding Data to Forms">> |