aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/data
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year range (#12507)Anna Koskinen2022-01-1195-95/+95
|
* feat: Add better API to configure maximum allowed rows (#12466)Tatu Lund2021-11-031-4/+14
| | | | | | | * feat: Add better API to configure maximum allowed rows * Add unit test Co-authored-by: Olli Tietäväinen <ollit@vaadin.com>
* Remove obsolete comment and assert in Binder (#12456)Tatu Lund2021-10-281-3/+1
|
* fix: avoid ConcurrentModificationException in Binder (#12458)Tatu Lund2021-10-271-7/+14
|
* fix: don't update bean property which is read-only bound (#12457)Tatu Lund2021-10-271-1/+1
|
* fix: Ensure that side effects of readBean does not set hasChanges true (#12455)Tatu Lund2021-10-271-1/+1
|
* fix: Add row limit to DataCommunicator row data requests (#12415)Tatu Lund2021-09-301-0/+15
| | | | | | | | | | | * Add row limit to DataCommunicator row data requests * Add missing constant * Add unit test * Add test for extending Grid * Fixed test
* fix: Avoid processing value change event due writing back of converted value ↵Tatu Lund2021-08-061-1/+4
| | | | | (#12360) This is both a optimization by skipping duplicate validation round and avoids ConcurrentModificationExpectation being thrown certain corner cases.
* feat: Add API to control whether Binder converts back to presentation (#12246)Tatu Lund2021-03-181-3/+40
| | | #12132 fixed an old bug, conversion was not done back, which was a regression from Vaadin 7. However since the bug has been present long time, it has become established behavior, thus there may be need to disable conversion back to presentation sometimes, thus this API as added.
* Prevent NPE in comparison (#12218)Tatu Lund2021-03-051-1/+1
| | | Fixes: https://github.com/vaadin/framework/issues/12207
* Update copyright year range. (#12215)Anna Koskinen2021-03-0495-95/+95
| | | | * Update copyright year range.
* Binder: Also use converter for user-changed values (#12132)Tatu Lund2020-12-031-1/+9
| | | See: https://vaadin.com/forum/thread/15931682
* fix duplicate key exception with Binder when interface method is overwritten ↵vt5122020-09-081-1/+1
| | | | (#12091)
* Bump hibernate-validator from 4.3.2.Final to 5.3.5.Final (#12083)Tatu Lund2020-08-251-0/+4
| | | | | Hibernate Validator 5+ requires - Validation API 2+ - explicit Expression Language dependency
* Ensure type safety and serializable nature of all the listeners (#12045)Tatu Lund2020-07-031-2/+2
|
* Support for javax.validation @NotEmpty annotation. (#11985)Martín López2020-05-121-1/+2
| | | Fixes #10914
* Add missing since tag (#11957)8.11.0.alpha1Zhe Sun2020-04-231-5/+5
|
* Fixed the JavaDoc (#11950)Vesa Nieminen2020-04-211-2/+2
| | | | | HierarchyMapper. getParentIndex() method has a different JavaDoc from the HierarchicalDataCommunicator. This is a simple fix for that. https://github.com/vaadin/framework/blob/master/server/src/main/java/com/vaadin/data/provider/HierarchyMapper.java#L96
* Add methods to control validation (#11945)Tatu Lund2020-04-211-8/+114
| | | | | | | | | - Enable / disable all validators on Binder level - Enable / disable validators on Binding level - add writeBeanAsDraft(bean,boolean) for writing draft bean with validators disabled Fixes https://github.com/vaadin/framework/issues/10709 Co-authored-by: Zhe Sun <31067185+ZheSun88@users.noreply.github.com>
* Remove unnecessary null-check at ValueContext constructors (#11915)Konstantin Kuzmin2020-04-071-5/+0
|
* TreeDataProvider: Apply filters to children (#11868)Tatu Lund2020-01-161-2/+13
| | | | | Fixes: https://github.com/vaadin/framework/issues/9933 Cherry pick from: https://github.com/vaadin/flow/pull/7317
* Added @since tags, some tweaks to formatting. (#11839)Anna Koskinen2019-12-042-17/+30
|
* Make asRequired conditional on binding.setAsRequiredEnabled(..) (#11834)Tatu Lund2019-12-021-1/+54
| | | | | It is a very common use case in complex form that whether a field is required or not, it depends on input on other fields. Hypothetical use case sample could be that we have form for a Product and price of the product is needed except in case the Product's type is Sample. So in that kind of scenarios it would be needed to turn off asRequired() validation easily. The purpose of this enhancement and new binding.setAsRequiredEnabled(..) API is to help implementation of this kind of use cases more easily. https://github.com/vaadin/framework/issues/10709
* Add method writeBeanAsDraft(bean) in Binder (#11833)Tatu Lund2019-11-291-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add method writeBeanAsDraft(bean) in Binder With current Binder implementation it is not easy to support Forms, which you want to save as draft, i.e. incomplete. For example there can be big text areas, that require time to fill, or lot of fields. Therefore it is needed to that form can be saved, e.g. to other bean in incomplete state when it is not yet passing validation and this other bean can be persisted to draft storage for further editing in the future. This method helps to achieve that easily. * Add test case for Binder.writeBeanAsDraft(bean) Bind a field with validator, set value that does not pass validator and save, assert that value was saved. * Updating test * Fixing logic flaw in test * Further improvement of the test case * Clarification of the JavaDoc * Fixing typo * JavaDoc language check * Fixing whitespace issue * Fixing whitespaces * Fixing whitespaces * Updating JavaDoc
* Cherry picks of Binder fixes in Flow (#11758)Tatu Lund2019-11-131-8/+49
| | | | | | | | | | * Cherry picks of Binder fixes in Flow Addresses: https://github.com/vaadin/framework/issues/9000 Addresses: https://github.com/vaadin/framework/issues/11109 These changes are adopted from https://github.com/vaadin/flow/pull/4138 and https://github.com/vaadin/flow/pull/6757
* Added missing constructor with scanNestedDefinitions option (#11801)Tatu Lund2019-11-121-1/+19
| | | | | | * Added missing constructor with scanNestedDefinitions option Addresses https://github.com/vaadin/framework/issues/10949
* Reduce Grid's sort complexity. (#11566)Anna Koskinen2019-05-152-10/+61
| | | | | | - limit DataCommunicator workaround from #11320 to ComboBox only - don't reset DataCommunicator before modifying all sorting data Fixes #11532
* Code format (#11548)Sun Zhe2019-04-291-14/+17
| | | | | | * Code format * Merge branch 'master' into code-format
* Finish the since tag (#11540) (#11543)Sun Zhe2019-04-181-1/+1
|
* Create StringToUuidConverter.java (#11387)Basil Bourque2019-04-101-0/+99
| | | | | | | | | | | * Create StringToUuidConverter.java Implements the `Converter` interface, to support converting back-and-forth between `String` and `UUID` (a type built into Java 5 and later). See Issue # 11,051. https://github.com/vaadin/framework/issues/11051 * Formatting cleanup, remove sinces
* Request data update before client response (#11341)Sun Zhe2018-12-111-0/+1
| | | | | | | | | * Request data update before client response * fix the accidental commit * add tests fixes #11320
* Add javadoc for validate() call in Binder (#11318)Sun Zhe2018-11-151-0/+6
| | | | * Add javadoc for validate() call in Binder
* Refactoring DataCommunicator code (#11304)Anastasia Smirnova2018-11-151-9/+9
| | | | | | | This refactoring addresses two issues cased by dropping updatedData before it was processed. Issues arise , when visibility has change. Fixes #11274 and similar issue within RadioButton There is no reliable way to test automatically NativeSelects in Grid, but adding UI test, at least
* Fixing NPE in Binder, ported from Flow (#11290)Mehdi Javan2018-11-061-5/+19
|
* Updating since tags (#11200)8.6.0.alpha2Mehdi Javan2018-09-211-2/+2
|
* Remove objects from ActiveDataHandler that are no longer available in used ↵Ilia Motornyi2018-09-071-0/+26
| | | | | | DataProvider (#11167) Remove objects from DataCommunicator.ActiveDataHandler that are no longer available in used DataProvider.
* Improving javadoc of Binder.removeBinding (#11107)Mehdi Javan2018-08-091-1/+18
| | | Fixes #11091
* Fix DataCommunicator not sending data on filter updates (#11068)Teemu Suo-Anttila2018-07-191-0/+3
|
* Fix formatting (#11023)Ilia Motornyi2018-07-041-18/+22
|
* Fix expanding an added TreeGrid node (#11018)Teemu Suo-Anttila2018-07-021-7/+4
| | | Fixes #9997
* Fix TabSheet attaching and detaching components (#10988)Teemu Suo-Anttila2018-06-191-5/+5
| | | | | | | This patch reverts the fix #10557 and replaces it with a proper solution from Grid perspective. Fixes #10987 Fixes #10985
* Fix temporal renderers serialization (#10929)Ilia Motornyi2018-06-131-0/+34
|
* Fix NPE check in BindingValidationStatus (#10964)Olli Tietäväinen2018-06-051-1/+1
|
* Fix small formatting issues (#10960)Ilia Motornyi2018-06-011-2/+2
|
* Fix Binder javadocs (#10907)Ilia Motornyi2018-05-091-1/+3
| | | Fixes #10399
* Fix Grid initial data when changing TabSheet Tab (#10872)Teemu Suo-Anttila2018-05-041-0/+5
|
* Enable Maven plugin for Eclipse formatting (#10829)Ilia Motornyi2018-04-1917-108/+126
|
* Remove empty comments (#10789)Ilia Motornyi2018-04-051-3/+0
|
* Update release notes and since tags for 8.4 (#10760)Teemu Suo-Anttila2018-03-2710-42/+51
|
* Update copyright year (#10761)Ilia Motornyi2018-03-2794-94/+94
|