| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
This patch fixes the BinderValidationStatusHandler example in the documentation.
|
| |
|
|
|
| |
Resolves #9191
|
|
|
| |
It says ConfigurableDataProvider, but there isn't a ConfigurableDataProvider class.
|
| |
|
| |
|
|
|
|
|
|
| |
* Refactor common methods of InMemoryHierarchicalDataProvider and ListDataProvider to a single interface
* Rename HierarchyData and InMemoryHierarchicalDataProvider, introduce HasHierarchicalDataProvider
* Additionally adds a helper method for recursive constructing
TreeData with a child item provider.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Initial Documentation for TreeGrid and Hierarchical Data
Fixes #8615, part of #8616
|
| |
|
|
|
|
| |
* Fix documentation links
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add DataProvider refreshItem for single item update
* Add 'id' concept for DataProviders
This patch also adds a simplified data provider that can replace items
based on their id. This can be used to simulate stale objects from an actual
backend.
* Add refresh logic to Grid SelectionModels
* Remove broken equals and hashCode
* Refresh KeyMapper, clean up some methods
* Fix UI.access in test
* Fix tests and Grid single selection model
* Do clean up before replacing data provider
* Check correct variable for null value
* Fix other selects, add generic tests
* Code style fixes, removed assert
* Merge remote-tracking branch 'origin/master' into 286_refresh_items
* Fix documentation for refreshing an item
* Improve introduction chapter, minor clarifications
* Merge remote-tracking branch 'origin/master' into 287_refresh_items
* Add missing parameters in unit tests
|
|
|
|
|
|
|
|
|
|
| |
* Allow distinct configurable filter and wrapped filter types
This enables implementing the use case that was already described
towards the end of datamodel-providers.asciidoc.
Also swaps the order of the callback type parameters to make all three
match the order of the ConfigurableFilterDataProvider type parameters.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Change BackEndDataProvider into an interface
BackEndDataProvider is now an interface with methods for setting
sorting options based on SortOrder instances.
AbstractBackEndDataProvider stores sorting options, combines them with
the sorting provided in the query and invokes its own abstract fetch and
size methods.
CallbackDataProvider implements a BackEndDataProvider based on two
lambdas.
This is one of many steps towards #8245
|
| |
|
|
|
|
| |
* 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"
|
|
|
| |
Add initial selection model documentation to datamodel-selection.
|
|
|
|
|
|
|
|
|
|
| |
* Update overview and field sections in the documentation
* Fix formatting
* Fix References
* Remove "chapter" word
|
|
|
|
| |
* Update DataProvider documentation for beta
|
|
|
|
| |
* Update Binder documentation for beta
|
|
|
|
|
|
| |
javax.sql.DataSource
Change-Id: I6babcadc72f3f37feff98088eee23b153a080f11
|
|
|
|
|
|
|
|
|
|
|
| |
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: Ie90e91f61a5795c90de3c690c3b6af80ec1448d9
|
|
|
|
| |
Change-Id: I33a4a4f0f3437a8d1733031a131afbe844c12afb
|
|
|
|
|
|
| |
This will not be implemented for 8.0
Change-Id: Ida33b3de74c7a14def66fac6f0363a12105d8087
|
|
|
|
|
|
| |
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: Id9333bae30c7bf5c24dcd0aca1cbee671c28910e
|
|
|
|
| |
Change-Id: Iecd8bd88d94b98829dfaec43b8635b1e93df330f
|
|
|
|
| |
Change-Id: Ic9e12534cf85f7793a57436e63bd67b6f920f722
|
|
|
|
|
|
| |
Test for cross field validation from Book of Vaadin.
Change-Id: Ida338bd79456332b3a359217ea7b9900a1408153
|
|
|
|
| |
Change-Id: Ibf1223d4842d72f0209231dfd70e1d6c4deb6d30
|
|
|
|
| |
Change-Id: I4cb2f8425d846694cdcfdfa8fd3d40c614f13889
|