summaryrefslogtreecommitdiffstats
path: root/documentation/datamodel
Commit message (Collapse)AuthorAgeFilesLines
* Fix Binding Data to Forms link (#10568)jmzc2018-01-301-1/+1
|
* Update datamodel-forms.asciidoc (#10350)jcgueriaud2017-11-221-9/+8
| | | This patch fixes the BinderValidationStatusHandler example in the documentation.
* Fix typo (#10295)Mikko Inkinen2017-11-061-1/+1
|
* Remove warnings about pre-release content in documentation (#9737)Henri Sara2017-07-261-2/+0
| | | Resolves #9191
* Change ConfigurableDataProvider for ConfigurableFilterDataProvider (#9681)Josefina Revilla2017-07-261-2/+2
| | | It says ConfigurableDataProvider, but there isn't a ConfigurableDataProvider class.
* Fix hierarchical dataprovider example code bugtmattsso2017-07-131-1/+1
|
* Clarify TreeData and TreeDataProvider javadocs, improve documentation (#9349)Aleksi Hietanen2017-05-181-10/+6
|
* Refactor common methods in in-memory data providers (#9308)Aleksi Hietanen2017-05-161-11/+11
| | | | | | * 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.
* Tree documentationIlia Motornyi2017-05-041-2/+4
|
* Fix three typos in the documentation (#9230)Ilia Motornyi2017-05-041-2/+2
|
* Fix invalid link (#9183)Artur2017-04-281-1/+1
|
* Fix Binder documentation on ValidationException (#8949)Pekka Hyvönen2017-03-271-1/+1
|
* Change fromCollection -> ofCollectionJonni Nakari2017-03-211-3/+3
|
* Initial Documentation for TreeGrid and Hierarchical Data (#8880)Pekka Hyvönen2017-03-204-1/+135
| | | | | | * Initial Documentation for TreeGrid and Hierarchical Data Fixes #8615, part of #8616
* Fix typo in documentation (#8784)Maciej Aleksandrowicz2017-03-091-1/+1
|
* Fix documentation links (#8726)Artur2017-03-031-6/+6
| | | | * Fix documentation links
* Document BeanValidationBinder and RequiredFieldConfigurator. (#8504)Denis2017-02-081-3/+21
| | | | | This patch also provides a documentation for #8382. Fixes #8390
* Add isValid to Binder (#8274)Aleksi Hietanen2017-02-031-2/+2
| | | | | | | | | | | | | | | * 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
* Fix documentation examplesIlia Motornyi2017-01-311-7/+10
|
* Add APIs to inform components of stale objects in DataProvider (#8271)Teemu Suo-Anttila2017-01-251-1/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 (#8322)Leif Åstrand2017-01-251-2/+3
| | | | | | | | | | * 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.
* Update data provider documentation to describe the new design (#8317)Leif Åstrand2017-01-241-55/+248
|
* Change BackEndDataProvider into an interface (#8268)Leif Åstrand2017-01-191-2/+2
| | | | | | | | | | | | | | | | * 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
* Use correct format for links in datamodel-overview (#8233)Juha Seppänen2017-01-121-8/+8
|
* Integrate BeanBinder functionality into Binder (#8096)Leif Åstrand2017-01-121-10/+11
| | | | * Integrate BeanBinder functionality into Binder
* Fix broken links in documentation (#8182)Pekka Hyvönen2017-01-091-1/+1
|
* Update general Component documentationPekka Hyvönen2017-01-041-0/+3
| | | Part of vaadin/framework8-issues#538
* Improved English in line 17 (#8054)Juha Seppänen2016-12-201-1/+1
| | | | | | | | | * 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 chapter datamodel-selection (#8049)Aleksi Hietanen2016-12-191-11/+136
| | | Add initial selection model documentation to datamodel-selection.
* Update overview and field sections in the documentation (#8025)Leif Åstrand2016-12-192-36/+27
| | | | | | | | | | * Update overview and field sections in the documentation * Fix formatting * Fix References * Remove "chapter" word
* Update DataProvider documentation for beta (#8023)Leif Åstrand2016-12-191-202/+112
| | | | * Update DataProvider documentation for beta
* Update Binder documentation for beta (#8022)Leif Åstrand2016-12-191-177/+73
| | | | * Update Binder documentation for beta
* Renaming DataSource -> DataProvider to avoid collisions with ↵elmot2016-11-112-28/+28
| | | | | | javax.sql.DataSource Change-Id: I6babcadc72f3f37feff98088eee23b153a080f11
* Rename Binder methodsPekka Hyvönen2016-10-261-32/+14
| | | | | | | | | | | 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
* Fix security issue in BoV custom ValidationStatusHandler exampleAleksi Hietanen2016-10-131-1/+7
| | | | Change-Id: Ib02f6c2ddc32d70f45180a03832b3dec790ecc3d
* Fix BoV custom ValidationStatusHandler exampleAleksi Hietanen2016-10-131-2/+8
| | | | Change-Id: I94d82a6200197a6d9f6b31d66153a140333b5b1e
* Update documentation (+javadoc) references to obsolete OptionGroup #237.Denis Anisimov2016-10-051-1/+1
| | | | Change-Id: Ie90e91f61a5795c90de3c690c3b6af80ec1448d9
* Make AbstractDateField based on LocalDate (#125).Denis Anisimov2016-09-302-5/+5
| | | | Change-Id: I33a4a4f0f3437a8d1733031a131afbe844c12afb
* Remove documentation for cursors in data sourcesArtur Signell2016-09-271-63/+0
| | | | | | This will not be implemented for 8.0 Change-Id: Ida33b3de74c7a14def66fac6f0363a12105d8087
* Fix inconsistent API naming in Binder and remove unused handlerPekka Hyvönen2016-09-131-6/+5
| | | | | | Mostly based on comments on a previous patch that was merged. Change-Id: I146995853b3318d89061f1d06ab4bbd859168661
* Refactor Binder Status Handling APIPekka Hyvönen2016-09-121-19/+15
| | | | | | | | | | | 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
* Add Form level status handler and status labelPekka Hyvönen2016-09-081-3/+3
| | | | | | | This feature doesn't make a whole lot of sense until form level status changes are available. Change-Id: Ie634c4a6b3511b7cbf9e367192034934b0e0d4b0
* Add documentation test for custom convertersArtur Signell2016-09-051-4/+4
| | | | Change-Id: I84621b6b568095b1b7f86068fa992dd570f8a103
* Add item level validator support to BinderDenis Anisimov2016-09-021-14/+25
| | | | | | | | 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
* Fixed event name to match example codeMarcus Hellberg2016-08-291-1/+1
| | | | Change-Id: Id9333bae30c7bf5c24dcd0aca1cbee671c28910e
* Binding.withStatusChangeHandler and Binding.withStatusLabel (#30).Denis Anisimov2016-08-171-2/+2
| | | | Change-Id: Iecd8bd88d94b98829dfaec43b8635b1e93df330f
* DataSource backend sortingelmot2016-08-171-6/+6
| | | | Change-Id: Ic9e12534cf85f7793a57436e63bd67b6f920f722
* Test that cross field validation works as expected (#33).Denis Anisimov2016-08-171-7/+5
| | | | | | Test for cross field validation from Book of Vaadin. Change-Id: Ida338bd79456332b3a359217ea7b9900a1408153
* Add converter support to BinderArtur Signell2016-08-151-1/+1
| | | | Change-Id: Ibf1223d4842d72f0209231dfd70e1d6c4deb6d30
* Fix invalid [note] tags in documentationArtur Signell2016-08-101-3/+6
| | | | Change-Id: I4cb2f8425d846694cdcfdfa8fd3d40c614f13889