From a642da5d8d89a4d4ca08b4a3b0e1842763e886c1 Mon Sep 17 00:00:00 2001 From: dunand Date: Thu, 4 May 2017 02:10:09 -0400 Subject: Documentation: fix wrong method name --- documentation/components/components-fields.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation/components') 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 <> -- cgit v1.2.3