summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authordunand <jeffnadeau@gmail.com>2017-05-04 02:10:09 -0400
committerIlia Motornyi <elmot@vaadin.com>2017-05-04 09:10:09 +0300
commita642da5d8d89a4d4ca08b4a3b0e1842763e886c1 (patch)
tree16c1a0957968282ee99093f184717b6757e9b2b6 /documentation
parentbb358e50ddd19a8de6e495a0b58a5244ceed6440 (diff)
downloadvaadin-framework-a642da5d8d89a4d4ca08b4a3b0e1842763e886c1.tar.gz
vaadin-framework-a642da5d8d89a4d4ca08b4a3b0e1842763e886c1.zip
Documentation: fix wrong method name
Diffstat (limited to 'documentation')
-rw-r--r--documentation/components/components-fields.asciidoc2
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">>