]> source.dussan.org Git - vaadin-framework.git/commit
Add item level validator support to Binder
authorDenis Anisimov <denis@vaadin.com>
Thu, 25 Aug 2016 11:53:09 +0000 (14:53 +0300)
committerArtur Signell <artur@vaadin.com>
Fri, 2 Sep 2016 12:13:19 +0000 (15:13 +0300)
commitccaabe6db025f7e73adc83b4d0e2671c7fa16d40
treed1508def2ee24cac623616c1b4fdd29a6b8f069c
parent876b6383e6ec50a8bbe34126b7bfed5f6f616bea
Add item level validator support to Binder

An item level validator is run on the item (bean) after field validators
have passed. A failed item level validator will block save operations,
just like field level validators.

Change-Id: I3b918b33371ceef07cdfbd0a8b6d477d4ac26b85
documentation/datamodel/datamodel-forms.asciidoc
server/src/main/java/com/vaadin/data/BeanBinder.java
server/src/main/java/com/vaadin/data/Binder.java
server/src/main/java/com/vaadin/data/ValidationError.java
server/src/test/java/com/vaadin/data/BeanBinderTest.java
server/src/test/java/com/vaadin/data/BinderBookOfVaadinTest.java
server/src/test/java/com/vaadin/data/BinderTest.java