From 138f8ddb6927f66bc2d5bfce6d7ae5963c0ca42e Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 5 Aug 2016 11:28:45 +0300 Subject: Update documentation to match API in vol2 Change-Id: I7514105d817a8e442ecdc81fa77af758a9abfd08 --- documentation/components/components-grid.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation/components/components-grid.asciidoc') diff --git a/documentation/components/components-grid.asciidoc b/documentation/components/components-grid.asciidoc index b56b762e46..a06989501a 100644 --- a/documentation/components/components-grid.asciidoc +++ b/documentation/components/components-grid.asciidoc @@ -912,7 +912,7 @@ BeanBinder binder = new BeanBinder<>(Person.class); // Have some extra validation in a field binder.addField(nameEditor, "name") - .addValidator(new RegexpValidator( + .withValidator(new RegexpValidator( "^\\p{Alpha}+ \\p{Alpha}+$", "Need first and last name")); -- cgit v1.2.3