aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test/java
Commit message (Collapse)AuthorAgeFilesLines
* Only throw from Binder.bindInstanceFields if there are no bindings at all ↵Artur2017-07-112-7/+58
| | | | | | (#9487) Fixes #8986
* Clear errors when clearing binder fields (#9364)Artur2017-07-111-0/+20
| | | | Calling readBean(null) should reset the form state to the initial state it was in before calling writeBean(bean)
* Properly remove service destroy listeners (#9304)Artur2017-07-111-0/+30
| | | Fixes #9291
* Fix problem when reading a nested Design based on a GridLayout (#9092)Artur2017-05-082-1/+47
| | | | | | | | The parent Design must leave child handling to the nested design, when there are no children defined in the parent Design. This fixes a problem with com.vaadin.ui.GridLayout$OutOfBoundsException when the reading operation of the parent design tries to set number of rows according to its empty content.
* Make bindInstanceFields not bind fields already bound using functions (#8998)Artur2017-05-081-0/+23
| | | | Fixes #8858
* Fix infinite loop in data communication (#8927)Aleksi Hietanen2017-05-081-2/+2
| | | | | | | | | | * Fix infinite loop in data communication * Switch to less aggressive reset when data communication is out of sync * Remove triggering of reset if reset is already being performed * Avoid redundant collection of streams in DataCommunicator
* Fix bug column and row expand ratio are not persisted (#9028)Ilia Motornyi2017-04-061-6/+23
| | | Fixes #9009
* Make CustomField iterator() comply with contractArtur Signell2017-03-301-0/+63
| | | | Fixes #8957
* Fix Binder documentation on ValidationException (#8949)Pekka Hyvönen2017-03-301-0/+30
|
* Set column captions when reading grid from a design file (#8770)8.0.4Artur2017-03-221-4/+2
| | | Fixes #8752
* Handle unknown connectors consistently and quietly as described in #8111 (#8741)Artur2017-03-161-0/+49
| | | | Fixes #8629
* Correctly write margin info for FormLayout into design files (#8804)Artur2017-03-163-23/+76
| | | Fixes #8800
* Correct license locationAhmed Ashour2017-03-162-4/+3
|
* Make test for EditorSaveEvent.bean field Ilia Motornyi2017-03-161-5/+23
| | | * Fixes #8810, #8658
* Read/write Grid item type to declarative and create columns correctly (#8769)Artur2017-03-162-0/+320
| | | Fixes #8467
* Update frozen column count when a frozen column is removed (#8788)Artur2017-03-161-0/+36
| | | | * Update frozen column count when a frozen column is removed
* Correctly detach components in merged cells (#8773)Artur2017-03-161-0/+21
| | | | | | * Correctly detach components in merged cells This was already once fixed in 7.7 in #8142
* Include components in joined cells when finding child components (#8772)Artur2017-03-161-0/+86
| | | Fixes #8722
* Update column caption when a text is set in the default header rowArtur2017-03-161-0/+26
| | | Fixes #8751
* Add Column.getValueProvider to Grid (#8732)Artur2017-03-161-0/+48
| | | | | | * Add Column.getValueProvider to Grid Fixes #8680
* Translate "context://" to the context root of the web appArtur2017-03-161-0/+127
| | | Fixes #2523
* Picked all changes from 7.7Teemu Suo-Anttila2017-03-072-0/+1052
| | | | | 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-072-0/+45
|
* Add missing Grid.removeAllColumns (#8750)Artur2017-03-071-0/+14
| | | Fixes #8704
* Use try-with-resources (#8757)Ahmed Ashour2017-03-072-24/+26
| | | To ensure the resource is automatically closed
* Fix some issues with Binder serialization (#8660)8.0.1Ilia Motornyi2017-02-277-8/+35
| | | | Partial fix for #8640
* Fix NPE sorting columns with null values (#8610)Filippo2017-02-271-0/+45
| | | | | | | | | | | | | | * 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-272-0/+22
|
* Pick changes from 7.7.7 (#8577)Teemu Suo-Anttila2017-02-274-3/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix null caption for NativeSelect and ComboBox (#8633)Pekka Hyvönen2017-02-271-0/+85
| | | | | | | | | * 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-271-0/+7
|
* 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-101-0/+35
|
* Binding a null bean should clear the bound field values (#8288)caalador2017-02-091-24/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-082-0/+138
|
* Allow configuring how string to number converters handle empty strings (#8506)Leif Åstrand2017-02-087-7/+74
|
* Provide a convenience method to get items set via setItems(). Denis2017-02-082-0/+16
| | | Fixes #8357
* Provide a way to configure bean binder to auto set required fields (#8460)Denis2017-02-082-0/+200
| | | | | | @NotNull, @Size(min>1), @NotEmpty annotations are handled via default configuration which marks fields as required. Fixes #8382
* Throw if there are no automatically bound fields via bindInstanceFields. (#8481)Denis2017-02-081-6/+38
| | | | | | * Throw if there are no automatically bound fields via bindInstanceFields. Fixes #8362
* Add Grid.addColumn(String, Renderer) (#8470)Leif Åstrand2017-02-071-0/+26
| | | | * Add Grid.addColumn(String, Renderer)
* Make one-arg addColumn use natural sort for mutually comparable values (#8458)Leif Åstrand2017-02-072-2/+96
| | | | Fixes #8371 Fixes #8128
* Add isValid to Binder (#8274)Aleksi Hietanen2017-02-032-2/+79
| | | | | | | | | | | | | | | * 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-031-0/+55
| | | | | | | | * 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-021-0/+165
| | | | | | | | | | * Migrate v7 Grid tests. Next round. Fixes #8419 * Add Grid editor events. Fixes #8202.
* Add helpers for dealing with columns based on its id (#8411)Leif Åstrand2017-02-023-11/+287
| | | | | | | | | * Add helpers for dealing with columns based on its id setColumns(Column...) is removed since it's not possible to re-add a removed column instance. Fixes #8361
* Make it easy to invoke ServerRpc methods as part of unit tests (#8346)Artur2017-02-027-38/+18
| | | | | Executing RPC methods is useful when testing component interaction with the server. Not only inside the framework but also when creating add-ons and applications.
* Make Grid add columns based on bean properties (#8392)Leif Åstrand2017-02-014-27/+120
| | | | | | | | | * Make Grid add columns based on bean properties The property set concept used for Binder is slightly generalized and used by Grid as well to support similar functionality. Fixes vaadin/framework8-issues#250
* Introduce Binder.addFialdValueChangeListener (#8273)Denis2017-02-011-0/+167
| | | Fixes #8273
* Add a maven plugin for formatting according to Eclipse settingsLeif Åstrand2017-02-018-70/+47
| | | | | Running formatter:format will format all files in a submodule using an embedded Eclipse compiler (based on Neon SR1) according to the regular formatting settings file.
* Refactor editor API to use Binding instead of a component generator (#8368)Leif Åstrand2017-01-311-1/+2
| | | Fixes #8366