aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor how DataCommunicator passes filters to its DataProvider (#8309)Leif Åstrand2017-01-259-75/+162
| | | | | | | The immediate benefit of this change is that ComboBox doesn't have to do any wrapping when a ListDataProvider is set. A secondary benefit is that a bunch of redundant type parameters and unsafe casts can be removed. This is one of many steps towards #8245
* Use non-Generic SortOrder in Query. (#8239)Denis2017-01-2513-53/+94
| | | | | | * Use non-Generic SortOrder in Query. Fixes #8215
* Allow distinct configurable filter and wrapped filter types (#8322)Leif Åstrand2017-01-253-32/+44
| | | | | | | | | | * 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.
* Serve VAADIN files also from META-INF/resources (#8286) (#8320)Artur2017-01-251-4/+5
| | | | | | * Serve VAADIN files also from META-INF/resources (#8286) Fixes #8206
* Add static helpers for creating callback data providers (#8314)Leif Åstrand2017-01-2514-51/+104
| | | | | Cannot overload the same create method for this purpose since it conflicts with T... overload. Each case is instead given its own descriptive but still discoverable method name.
* Support using multiple @JavaScript and @StyleSheet annotations on a class ↵Artur2017-01-246-27/+141
| | | | (#8293)
* Make BeanBinderPropertySet exclude Object properties (#8306)Leif Åstrand2017-01-242-3/+22
| | | | * Make BeanBinderPropertySet exclude Object properties
* Unify container wrapping (#8312)Leif Åstrand2017-01-246-91/+71
| | | | | | | | * Method names unified to withXyzFilter * withConfigurableFilter moved to DataProvider * Remove DataProviderWrapper.convert since it does the same as DataProvider.withConvertedFilter * Make javadocs slightly more consistent * Make type parameters consistent
* Use getFirstSelectedItem() instead of getFirstSelected(). (#8308)Denis2017-01-245-15/+15
| | | | | | * Use getFirstSelectedItem() instead of getFirstSelected(). Fixes vaadin/framework8-issues#596
* Fix BeanBinderPropertySet to not deserialize into multiple instances (#8305)Leif Åstrand2017-01-233-42/+146
| | | | * Fix BeanBinderPropertySet to not deserialize into multiple instances
* Add shorthands to ComboBox for setting a ListDataProviderLeif Åstrand2017-01-232-13/+115
|
* Remove outdated filtering concepts (#8289)Leif Åstrand2017-01-236-235/+7
| | | | | | | | | | | | | * Remove outdated filtering concepts withFilter is removed since filters are supposed to be set as state in the data provider instead of by wrapping. AppendabileFilterDataProvider is removed since the data provider is supposed to do any appending when updating its own state instead of through wrapping. This is one of many steps towards #8245
* Add ListDataProvider shorthands for filter conversion (#8279)Leif Åstrand2017-01-224-13/+260
| | | | | Also updates ComboBox.setItems to use these new shorthands This is one of many steps towards #8245
* Add a data provider wrapper with a configurable filter (#8280)Leif Åstrand2017-01-208-20/+331
| | | | | | * Add a data provider wrapper with a configurable filter This is one of many steps towards #8245
* Overload AbstarctComponent.setDescription() with content mode parameter (#8252)Denis2017-01-2011-14/+32
| | | | | | * Overload AbstarctComponent.setDescription() with content mode parameter Fixes #8185
* Introduce DateTimeFile and InlineDateTimeField. (#8218)Denis2017-01-1914-7/+872
| | | | | | | | | | * Introduce DateTimeFile and InlineDateTimeField. Fixes #8132 * Correct and provide declarative tests. * Provide a date converter and UI tests.
* Change BackEndDataProvider into an interface (#8268)Leif Åstrand2017-01-199-86/+185
| | | | | | | | | | | | | | | | * 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
* Allow setting filters directly in ListDataProvider (#8267)Leif Åstrand2017-01-193-5/+280
| | | | | | * Allow setting filters directly in ListDataProvider This is one of many steps towards #8245
* Simplified javadoc (#8272)Matti Tahvonen2017-01-181-6/+5
| | | | * Simplified javadoc
* Make data providers statefull with regards to default sort orders (#8247)Leif Åstrand2017-01-176-215/+263
| | | | | | * Make data providers statefull with regards to default sort orders This is one of many steps towards #8245
* Add separate modules to test Bean Validation lib necessity. (#8249)Denis2017-01-161-2/+10
| | | | | | * Add separate modules to test Bean Validation lib necessity. Fixes #8141
* Introduce Binder.setReadOnly() (#8241)Denis2017-01-162-0/+80
| | | Closes #8232
* Fix comments in serializable functional interfaces (#8246)Leif Åstrand2017-01-163-5/+5
|
* Support for HTML5 push/replaceState for proper deep linking features (#8116)Matti Tahvonen2017-01-132-13/+205
| | | | | | | | | | | | | | | | | | | | | | | | * Added support for HTML5 push/replaceState for proper deep linkin features * Automated test script now works at least on chrome * Uses html5 push/popstate to implement uri fragment feature * fire legacy fragment change events also via popstate events rpc calls * send new fragments via pushstate mechanism * formatting * Formatting and adding test and workaround for IE bug * Formatting and depracated UriFragmentListener * Aligned naming in the new API * Ignored IE due to web driver bug Tested a workaround with javascript based window.location.href fetch, but that don’t seem to work stable enough.
* Add "deselect allowed" feature to the Grid. (#8227)Denis2017-01-132-0/+30
| | | | | | * Add "deselect allowed" feature to the Grid. Fixes #8149
* Support for defining the root element for Javascript components (#8143)Artur2017-01-131-3/+22
| | | Fixes #7005
* Replace Listing with HasDataProvider and HasFilterableDataProvider (#8122)Leif Åstrand2017-01-1321-188/+268
| | | | | | | | | | | | * Replace Listing with HasDataProvider and HasFilterableDataProvider The type parameters of the Listing interface does in practice mean that it isn't useful for anything. This patch replaces that interface with separate types for components that require filterable data providers and components that support any kind of data provider. The setItem methods are extracted to a common interface that is also directly implemented by AbstractListing.
* Include old value in ValueChangeEvent (#8229)Aleksi Hietanen2017-01-1318-48/+145
| | | | * Include old value in ValueChangeEvent
* Make server tests use fixed locale where needed (#8226)Henri Sara2017-01-124-5/+13
|
* Integrate BeanBinder functionality into Binder (#8096)Leif Åstrand2017-01-1214-768/+1076
| | | | * Integrate BeanBinder functionality into Binder
* Remove unused private method (#8224)Leif Åstrand2017-01-111-15/+0
| | | | * Remove unused private method
* Correctly reset DataCommunicator when its DataProvider is changed (#8138)Aleksi Hietanen2017-01-1013-33/+168
| | | | | | | | * Correctly reset DataCommunicator when its DataProvider is changed * Improve ReplaceDataProviderTest * Remove return type from AbstractListing.readItems
* Fix broken method signature of Grid.addColumn (#8180)Aleksi Hietanen2017-01-102-2/+2
| | | Fixes #8129
* Refactor AbstractDateField. (#8146)Denis2017-01-1013-159/+448
| | | First round for #8132.
* Allow AbstractField to override value equality (#8201)Leif Åstrand2017-01-102-1/+76
| | | | | | * Allow AbstractField to override value equality Fixes #8089
* Remove uriFragmentChanged from the public API of UriFragmentManager (#8164)Leif Åstrand2017-01-093-21/+8
| | | | | It's an implementation detail that UriFragmentManager uses a UriFragmentChangedListener, so this shouldn't be exposed in its public API.
* Add LocalDateToDateConverter (#8147)Leif Åstrand2017-01-052-0/+180
| | | | * Add LocalDateToDateConverter
* Restore all current instance values after running access tasks (#8131)Leif Åstrand2017-01-052-5/+37
| | | | | | * Restore all current instance values after running access tasks Fixes vaadin/framework8-issues#593
* Avoid redundant autoboxing in BackEndDataProvider's size callback (#8127)Aleksi Hietanen2017-01-042-3/+39
|
* Automatically complete custom bindings in BeanBinder#bindInstanceFields (#8012)Aleksi Hietanen2017-01-033-3/+179
| | | Closes vaadin/framework8-issues#511
* Update @since tags for 7.7.5Denis Anisimov2017-01-031-0/+2
| | | | | | | | | | | Change-Id: I73201908b537ca0a65106e03c9bad913b59fae9f Re-added back disappeared commit from 7.7.5 migration PR: Mark TextField/TextArea as busy when a text change event is pending (#20469) Change-Id: I404985ae0be1e7dc65171b610032f8649e700f50
* Partial javadocs fix for vaadin-serverIlia Motornyi2017-01-0262-182/+105
|
* Clean up calendar tests. (#8094)Denis2016-12-271-1/+1
|
* Remove caption from javadoc comment (#8080)Pekka Hyvönen2016-12-231-2/+2
|
* Listing must be a ComponentPekka Hyvönen2016-12-221-1/+3
|
* Remove unused caption from Column constructor (#8077)Pekka Hyvönen2016-12-221-5/+3
| | | | | | * Remove unused caption from Column constructor Fixes #8063
* Global java code cleanup using Eclipse Neon.1Leif Åstrand2016-12-20113-431/+412
|
* Remove Google App Engine support, tests and documentation (#8034)Pekka Hyvönen2016-12-203-629/+8
| | | | | | * Remove Google App Engine support and tests Fixes #8033
* Declarative tests improvementsDenis2016-12-207-16/+53
|
* Fix for Grid declarative format (read). (#8050)Denis2016-12-202-5/+13
| | | | | | * Fix for Grid declarative format (read). Fixes vaadin/framework8-issues#576