| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
| |
This patch fixes the BinderValidationStatusHandler example in the documentation.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This patch also provides a documentation for #8382.
Fixes #8390
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add isValid to Binder
isValid enables you to check the current validation
status of a given Binder, without firing events or invoking
handlers.
This patch also clarifies the javadocs of StatusChangeEvents'
hasValidationErrors.
* Throw in Binder.isValid if no bean is set and bean validators exist
* Add test cases to BinderTest
|
| |
|
|
|
|
| |
* Integrate BeanBinder functionality into Binder
|
|
|
| |
Part of vaadin/framework8-issues#538
|
|
|
|
|
|
|
|
|
| |
* Improved English in line 17
Changed
"There is only one Binder instance per form and it is used for all fields in that form" into
"There is only one Binder instance for each form and it is used for all fields in that form"
|
|
|
|
| |
* Update Binder documentation for beta
|
|
|
|
|
|
|
|
|
|
|
| |
save -> writeBean, saveIfValid -> writeBeanIfValid,
load -> readBean, bind -> setBean, unbind -> removeBean.
Now setBean accepts null to reset the bean instead of throwing NPE.
Closes vaadin/framework8-issues#91
Change-Id: I42cbad5856cac11a03bfcefd0fa91a02c41b7234
|
|
|
|
| |
Change-Id: Ib02f6c2ddc32d70f45180a03832b3dec790ecc3d
|
|
|
|
| |
Change-Id: I94d82a6200197a6d9f6b31d66153a140333b5b1e
|
|
|
|
| |
Change-Id: I33a4a4f0f3437a8d1733031a131afbe844c12afb
|
|
|
|
|
|
| |
Mostly based on comments on a previous patch that was merged.
Change-Id: I146995853b3318d89061f1d06ab4bbd859168661
|
|
|
|
|
|
|
|
|
|
|
| |
BinderStatusHandler is now triggered only once per validation.
Unified ValidationError and BinderResult into BinderValidationStatus.
Renamed ValidationStatusChangeEvent into ValidationStatus.
Unified handler names for validation status.
Next patch will fix resetting of field errors on reset.
Change-Id: I9536d554d781fe599fbd7e5bcb5a9ffebe675ca0
|
|
|
|
|
|
|
| |
This feature doesn't make a whole lot of sense until
form level status changes are available.
Change-Id: Ie634c4a6b3511b7cbf9e367192034934b0e0d4b0
|
|
|
|
| |
Change-Id: I84621b6b568095b1b7f86068fa992dd570f8a103
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Iecd8bd88d94b98829dfaec43b8635b1e93df330f
|
|
|
|
|
|
| |
Test for cross field validation from Book of Vaadin.
Change-Id: Ida338bd79456332b3a359217ea7b9900a1408153
|
|
|
|
| |
Change-Id: Ibf1223d4842d72f0209231dfd70e1d6c4deb6d30
|
|
|
|
| |
Change-Id: I4cb2f8425d846694cdcfdfa8fd3d40c614f13889
|
|
|
|
| |
Change-Id: Ia28e28bf61f1cdafbc878083797006600a441cfa
|
|
|
|
| |
Change-Id: I0641ea6118cd873c803d3c21d82b14fe8db4baa2
|
|
* Add documentation about Fields for the data binding chapter
* Add documentation about form binding for the data binding chapter
* Add documentation about data sources for the data binding chapter
Change-Id: I99297f2ebd3d874bd78569fd8d05bc649654c91d
|