aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java
Commit message (Collapse)AuthorAgeFilesLines
* Introduce empty selection functionality for NativeSelect. (#8336)Denis2017-01-271-0/+56
| | | | | | * Introduce empty selection functionality for NativeSelect. Fixes vaadin/framework8-issues#545
* Allow to disable user selection in the grid model. (#8345)Denis2017-01-275-11/+44
| | | | | | * Allow to disable user selection in the grid model. Fixes vaadin/framework8-issues#546
* Add a default getOptionalValue() to HasValue (#8324)Giovanni Lovato2017-01-271-0/+13
| | | Fixes #8323
* Add convenience constructors for TextField (#597) (#8341)caalador2017-01-271-1/+50
| | | | | | | Add convenience constructors for TextField (#597) Added TextField convenience constructors similar to the ones found in Vaadin framework 7
* Implement GridSortOrder and SortOrderBuilders (#8338)Aleksi Hietanen2017-01-278-23/+359
|
* Fix some faulty javaDoc namescaalador2017-01-2616-36/+22
|
* Extract Bean validation logic from Binder to BeanValidationBinderDenis2017-01-255-35/+85
| | | Fixes #8253
* Update @HtmlImport javadoc to match implementation (#8331)Artur2017-01-251-7/+8
|
* Add APIs to inform components of stale objects in DataProvider (#8271)Teemu Suo-Anttila2017-01-2514-34/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Support loading of HTML imports using @HtmlImport (#8301)Artur2017-01-256-73/+333
| | | | | Note that not all browsers yet support HTML imports. If a polyfill is needed to load HTML imports, it must be loaded before HTML Imports can be loaded. There is no automatic loading of any polyfills.
* Refactor how DataCommunicator passes filters to its DataProvider (#8309)Leif Åstrand2017-01-256-58/+104
| | | | | | | 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-259-39/+85
| | | | | | * Use non-Generic SortOrder in Query. Fixes #8215
* Allow distinct configurable filter and wrapped filter types (#8322)Leif Åstrand2017-01-252-22/+28
| | | | | | | | | | * 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-258-28/+76
| | | | | 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-241-3/+6
| | | | * Make BeanBinderPropertySet exclude Object properties
* Unify container wrapping (#8312)Leif Åstrand2017-01-244-88/+68
| | | | | | | | * 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-243-3/+3
| | | | | | * Use getFirstSelectedItem() instead of getFirstSelected(). Fixes vaadin/framework8-issues#596
* Fix BeanBinderPropertySet to not deserialize into multiple instances (#8305)Leif Åstrand2017-01-231-29/+75
| | | | * Fix BeanBinderPropertySet to not deserialize into multiple instances
* Add shorthands to ComboBox for setting a ListDataProviderLeif Åstrand2017-01-231-4/+80
|
* Remove outdated filtering concepts (#8289)Leif Åstrand2017-01-234-171/+3
| | | | | | | | | | | | | * 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-222-13/+208
| | | | | 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-206-3/+210
| | | | | | * 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-203-6/+24
| | | | | | * Overload AbstarctComponent.setDescription() with content mode parameter Fixes #8185
* Introduce DateTimeFile and InlineDateTimeField. (#8218)Denis2017-01-198-5/+524
| | | | | | | | | | * 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-195-76/+176
| | | | | | | | | | | | | | | | * 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-191-5/+164
| | | | | | * 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-172-94/+180
| | | | | | * 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-161-0/+17
| | | 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-1315-171/+234
| | | | | | | | | | | | * 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-1313-44/+80
| | | | * Include old value in ValueChangeEvent
* Integrate BeanBinder functionality into Binder (#8096)Leif Åstrand2017-01-127-708/+840
| | | | * 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-1010-27/+55
| | | | | | | | * 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-101-2/+1
| | | Fixes #8129
* Refactor AbstractDateField. (#8146)Denis2017-01-107-132/+384
| | | First round for #8132.
* Allow AbstractField to override value equality (#8201)Leif Åstrand2017-01-101-1/+19
| | | | | | * Allow AbstractField to override value equality Fixes #8089
* Remove uriFragmentChanged from the public API of UriFragmentManager (#8164)Leif Åstrand2017-01-091-11/+5
| | | | | 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-051-0/+80
| | | | * Add LocalDateToDateConverter
* Restore all current instance values after running access tasks (#8131)Leif Åstrand2017-01-051-1/+4
| | | | | | * 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-032-3/+121
| | | 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