aboutsummaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
...
* Update column caption when a text is set in the default header rowArtur2017-03-163-0/+40
| | | Fixes #8751
* Add Column.getValueProvider to Grid (#8732)Artur2017-03-162-4/+63
| | | | | | * Add Column.getValueProvider to Grid Fixes #8680
* Allow powerful Navigator subclassing (#8663)Giovanni Lovato2017-03-161-4/+17
| | | | | | | | * Allow powerful Navigator subclassing `protected` methods in `Navigator` permit to create new `Navigator`s to add new capabilities to Vaadin, but `Navigator` fields are still `private` and this limit, for example, the overriding of `Navigator.init`. This PR makes `private` the `Navigator` fields. * Add documentation blocks to protected fields
* Add support for rendering HTML in ButtonRenderer (#8606)Artur2017-03-161-0/+24
|
* Translate "context://" to the context root of the web appArtur2017-03-165-0/+179
| | | Fixes #2523
* Make Eclipse add vaadin-icons source folder (#8531)Henri Sara2017-03-161-1/+41
|
* Add missing since, remove unused commandTeemu Suo-Anttila2017-03-071-1/+1
|
* Picked all changes from 7.7Teemu Suo-Anttila2017-03-074-41/+1068
| | | | | Synchronises parts of compatibility package code to match 7.7 Picks suitable patches for 8 code as well
* Remove tracking of unregistered connectors (#8153)Aleksi Hietanen2017-03-077-126/+56
|
* Add missing Grid.removeAllColumns (#8750)Artur2017-03-072-0/+23
| | | Fixes #8704
* Use try-with-resources (#8757)Ahmed Ashour2017-03-073-27/+28
| | | To ensure the resource is automatically closed
* Remove unnecessary override and correct javadoc typo (#8716)Peter Lehto2017-03-071-9/+1
| | | Fixes #8715
* Minor fix for javadocs (#8710)Ilia Motornyi2017-03-071-3/+3
|
* Fix some issues with Binder serialization (#8660)8.0.1Ilia Motornyi2017-02-278-12/+44
| | | | Partial fix for #8640
* Fix NPE sorting columns with null values (#8610)Filippo2017-02-272-1/+50
| | | | | | | | | | | | | | * Fix NPE sorting columns with null values Sorting a column in Grid throws a NullPointerException if there are null values and we are using the default TextRenderer * Test for #8610 * Update Grid.java * Update GridNullValueSortTest.java * Update GridNullValueSortTest.java
* Make it possible to use an extended ComboBox in declarative files (#8651)Artur2017-02-273-2/+25
|
* Pick changes from 7.7.7 (#8577)Teemu Suo-Anttila2017-02-279-21/+324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix java packaging order (#106) Closes vaadin/archetypes#113 * Use proper UTF-8 encoding for Content-Disposition filenames (#19527) (#6607) * Enable changing the backing bean for BeanItem (#4302) (#77) When storing a bean to the database, you typically get a new and updated bean instance back. By allowing to change the bean instance, we make it possible to just update the single BeanItem instance which can be used in many places. * Make AtmospherePushConnection methods public (#7973) There is no sensible way to use a custom version of APC, so protected access does not help in any way to access the underlying resource and/or connected UI. * Use correct indexes in multiselect checkboxes after removing rows (#8072) Fixes #8011 * Fix removal of hidden Grid columns (#8071) Fixes #8018 * Call error handler for exceptions in UI.init() (#8055) Fixes #4995 * Render font icon correctly on the 'more' menu item (#8126) * Render font icon correctly on the 'more' menu item Fixes #8125 * Reopen Grid details on attach, fixes #8015 (#8074) Fixes #8015 * Fix broken Grid tests after picking changes from 7.7.7 Removed duplicate setDetailsVisible calls from onDetach * Correctly detach components in merged cells when a static row is removed (#8142) Fixes #8140
* Load declarative classes using thread context class loader (#8532)Artur2017-02-272-3/+6
| | | | | | * Load declarative classes using thread context class loader Fixes #8528
* Fix null caption for NativeSelect and ComboBox (#8633)Pekka Hyvönen2017-02-274-6/+99
| | | | | | | | | * Fix null caption for NativeSelect and ComboBox Unified the null caption converting to empty string, as it was with other selects supporting item caption generator. Fixes #8630
* Correctly test for mutually comparable types (#8598)Leif Åstrand2017-02-272-2/+9
|
* Use an informative exception message when Binder is incorrectly constructed ↵Artur2017-02-271-2/+4
| | | | (#8631)
* Fix since tags for 8.0 (#8575)8.0.0.rc2Henri Sara2017-02-1679-39/+198
| | | | Fix since tags for the server and shared modules and new types in client.
* Add javadoc clarification for DataProivder.refreshItem (#8585)Leif Åstrand2017-02-161-0/+8
| | | | * Add javadoc clarification for DataProivder.refreshItem
* Reduce ComboBox initial requests (#8571)Pekka Hyvönen2017-02-161-4/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reduce ComboBox initial requests Use initial fetched data on client side, do not request data from server side for each time popup is opened. Fixed initial filter being null for ComboBox on DataProvider, causing unnecessary size & fetch for not-changed filter. Fixed ComboBox sending default filter unnecessarily to server. Fixed wrong page indexing in VComboBox -> ComboBoxConnector. Fixes #8496 Fixes vaadin/framework8-issues#488 * Fix last item missing When pageLength was 0 and nullSelectionAllowed, the last item was not shown. Tried to sensify the API for total suggestions versus total suggestions + null selection item. * Fix ComboBox selected item updates Handles changing of ItemCaptionGenerator or ItemIconGenerator, need to update the selected item caption and icon separately. Previously it worked because all data was sent all the time to client. Doesn't fix the issue, when selected item is updated with refreshItem(), and it is not on the active range that will be sent to client. For that, ComboBox would need a separate notification about item update. * Updated screenshots
* Clarify set/addSortComparator parameter name (#8562)Leif Åstrand2017-02-161-9/+9
|
* Provide explicit locale in GridTest (#8525)Ilia Motornyi2017-02-141-1/+4
| | | | Fixes #8524
* Use column id as the default sort order property (#8529) (#8530)8.0.0.rc1Henri Sara2017-02-102-2/+63
|
* Include Vaadin-Icons into the project, (#8485)Ilia Motornyi2017-02-091-0/+47
| | | | | | Include Vaadin-Icons into the valo theme in the project, make vaadin-icons dependency 'provided' Fixes #8471
* Add shorthands for creating lazy DataProviders (#8511)Teemu Suo-Anttila2017-02-092-0/+112
|
* Clarify addComponentsAndExpand javadocs (#8516)Leif Åstrand2017-02-092-0/+8
|
* Binding a null bean should clear the bound field values (#8288)caalador2017-02-092-35/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add clear field values #8287 Added functionality to make it possible to clear bound field values manually or when setting a null bean to binder. Binder will now clear bound fields for setBean(null) or if using readBean() functionality when calling the clear() method. Binder.clear() will throw a IllegalStateException if we have a bound bean. * MultiSelectionModel MultiSelect should implement emptyValue * Removing public clear() method and clearing field values only through setBean(null) and readBean(null) to be consistent and not have confusing functionality. * Simplified clearFields() as we don't need to check if field is readOnly * Document in removeBean JavaDoc that it will also clear the bound fields if we have a bean the is removed. * Binder should not have changes after clearing fields. * Add getEmptyValue as default to MultiSelect. Multiselect default for empty value should be an empty set. * Revert "Add getEmptyValue as default to MultiSelect." This reverts commit 45de8f45c4a1e3e45ab8a0353ab2a48bb4f1be6f. * Merge branch 'master' into issue/8287_Clear_bound_fields * Remove override for default implementation. * Fire status change event on clearFields if we had changes before clearing. * Formatting.
* Add addComponentsAndExpand to horizontal and vertical layout (#8480)Leif Åstrand2017-02-084-0/+182
|
* Clarify javadocs for query values not used for counting (#8509)Leif Åstrand2017-02-081-4/+9
| | | Fixes #8489
* Allow configuring how string to number converters handle empty strings (#8506)Leif Åstrand2017-02-0814-29/+202
|
* Provide a convenience method to get items set via setItems(). Denis2017-02-086-15/+90
| | | Fixes #8357
* Extract data provider callbacks to named and documented interfaces (#8508)Leif Åstrand2017-02-082-27/+77
| | | Fixes #8488
* Provide a way to set styles for Header/Footer Cells and Rows in a Grid (#8499)Denis2017-02-085-0/+100
| | | Fixes #8422
* Fix removing and adding a column in grid (#8437)caalador2017-02-081-0/+1
| | | | | | | | | | | | | | * Added column should also be added to footer (#590) When adding (readding) a column the column should also be added to footer as it will be removed and iterator will request footer for it. * Add test for re-add column (#590) * To lowerCase using Locale * Fixed compilation problem. Too little sleep for a friday evening...
* Provide a way to configure bean binder to auto set required fields (#8460)Denis2017-02-085-3/+335
| | | | | | @NotNull, @Size(min>1), @NotEmpty annotations are handled via default configuration which marks fields as required. Fixes #8382
* Add javadoc explanation about how to create serializable comparators (#8505)Leif Åstrand2017-02-082-21/+17
| | | | | | Also removes the confusing SerializableComparator.asInstance method that was mainly introduced for internal use. Fixes #8367
* Throw if there are no automatically bound fields via bindInstanceFields. (#8481)Denis2017-02-082-24/+69
| | | | | | * Throw if there are no automatically bound fields via bindInstanceFields. Fixes #8362
* Add Grid.addColumn(String, Renderer) (#8470)Leif Åstrand2017-02-072-5/+64
| | | | * Add Grid.addColumn(String, Renderer)
* Added missing parametrisation onto the column field of the ↵SomeoneToIgnore2017-02-071-3/+3
| | | | | | GridContextClickEvent. (#8473) * Added missing parametrisation onto the column field of the GridContextClickEvent.
* Use thread-safe collections for VaadinService listeners (#7037)Leif Åstrand2017-02-071-40/+57
| | | Fixes #7250
* Make one-arg addColumn use natural sort for mutually comparable values (#8458)Leif Åstrand2017-02-075-25/+193
| | | | Fixes #8371 Fixes #8128
* Add isValid to Binder (#8274)Aleksi Hietanen2017-02-034-9/+116
| | | | | | | | | | | | | | | * 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 selection methods to grid that delegate to its selection model (#8315)Aleksi Hietanen2017-02-032-2/+99
| | | | | | | | * Add selection methods to grid that delegate to the selection model * Merge remote-tracking branch 'github/master' into 577-alt * Remove getFirstSelected, isSelected
* Add Grid editor events. (#8365)Denis2017-02-027-3/+430
| | | | | | | | | | * Migrate v7 Grid tests. Next round. Fixes #8419 * Add Grid editor events. Fixes #8202.
* Add default getEmptyValue for MultiSelect interface (#8420) (#8421)8.0.0.beta2caalador2017-02-022-5/+11
| | | | | | | * Add deafult getEmptyValue for MultiSelect interface (#8420) Added an default implementation for getEmptyValue to the MultiSelect interface.
* Add scrollTo methods to Grid (#8203) (#8410)caalador2017-02-021-0/+55
| | | | | | | | | | | | | | * Add scroll methods to serverside grid (#8203) Added scrollToTop(), scrollToEnd() and scrollTo(int row) * Fix scrolling to view of opened details (#8203) Removed dependency for DetailsManagerConnector from GridConnector. GridConnector now handles one off listeners. * Rename detailsRefresh to better show that it's one-off. Add missing copyright header.