aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename PopupDateField to DateField #297.Denis Anisimov2016-09-236-144/+39
| | | | | | | DateField becomes abstract AbstractDateField, PopupDateField becomes DateField Change-Id: I3ac1e02d8754f0770b6a30222cb0fb2a1b9db07b
* Make CheckBoxGroup.SimpleMultiSelectModel return a selection copy #293.Denis Anisimov2016-09-211-0/+14
| | | | | | | getSelectedItems() must return a copy to fulfill the contract specified in SelectionModel: it must be a snapshot of the current state and safe to iterate over while changing selection. Change-Id: Ie2f15eb626dd80df2036bcb2d4e9387fc31389c9
* Avoid explicit casting to getter return type in getDescriptor() (#292).Denis Anisimov2016-09-211-2/+12
| | | | | | | BeanBinder may throw a ClassCastException in some cases because of explicit "cast" call which doesn't do boxing/unboxing. Change-Id: I8fc61612c2912f2626c075a4fc19cb812adf8aa2
* Create a RadioButtonGroup that replaces the single select case of OptionGroupelmot2016-09-162-0/+137
| | | | Change-Id: I56b0f1dfa889e2eaa3db9b0b0aac860f1bb4dea8
* Update @since tags for 8.0Henri Sara2016-09-141-1/+1
| | | | Change-Id: Iec8a81424e1cae9c3dc6c760732e0d48c4a38af2
* Implement support for binding multi-select componentsLeif Åstrand2016-09-144-25/+279
| | | | | | | Also updates ComponentTest.getRpcProxy to use an approach that doesn't require the component to be attached to a UI. Change-Id: Iab4603a7818cd0fd2a3410660b90a2a839fb8a76
* DataSource.refreshAll() for notifying components to reload (#233).Denis Anisimov2016-09-145-6/+302
| | | | | | | The method refreshAll() fires an event which is handled by UI components to reload their content. Change-Id: Ibbbe1f24b08ed883f0dda93c3ff6f05f380e9eaa
* Implement support for binding single-select componentsJohannes Dahlström2016-09-141-0/+109
| | | | Change-Id: I340e802e5c8e6e036b54f81ec46beeb5e1c34329
* Split Binder tests roughly by categoryJohannes Dahlström2016-09-145-1194/+1303
| | | | Change-Id: I7c1a55bd68097819e8091533df7232271af689c3
* Add multi selection support to CheckBoxGroupLeif Åstrand2016-09-141-0/+54
| | | | | | | | This patch adds multi selection support only for CheckBoxGroup without even trying to generalize anything. Adopting the concepts to work with other components will be done separately. Change-Id: Id4ccd2c743b74cb022dc9dfd8cd8dae3bf8f0c54
* Utility functions for helping to use elemental.json with Java 8Artur Signell2016-09-142-0/+206
| | | | Change-Id: I7c3cf7be95eaf451be806cb75b7b2a34fc534deb
* Create a CheckBoxGroup that replaces the multi select case of OptionGroupelmot2016-09-131-0/+46
| | | | Change-Id: I250c60741bc65443b66498a8d0b17541edb77bf1
* Fix binder.load to reset validation status in the endPekka Hyvönen2016-09-131-1/+39
| | | | | | | Otherwise any validation triggered by field value changes listeners would cause errors to be visible after loading a new bean. Change-Id: I741529f491ae6b36ff2a9aa4326c394cc12fb320
* Fix inconsistent API naming in Binder and remove unused handlerPekka Hyvönen2016-09-132-40/+41
| | | | | | Mostly based on comments on a previous patch that was merged. Change-Id: I146995853b3318d89061f1d06ab4bbd859168661
* Clear binder errors after load/bindPekka Hyvönen2016-09-131-0/+74
| | | | | | | Adds an unresolved validation status to make it possible to clear visible field validation errors, even if status is not yet valid. Change-Id: I227a8802b6a71be1533dc903bad1a8e2faef5ed2
* Change ColorPicker to use new ComboBoxArtur Signell2016-09-132-0/+144
| | | | | | | ColorPicker is moved back to vaadin-server now that it no longer requires any old components Change-Id: Iebb34cc0724a4bba6eff53073400e803d9ffddd1
* Refactor Binder Status Handling APIPekka Hyvönen2016-09-123-180/+327
| | | | | | | | | | | BinderStatusHandler is now triggered only once per validation. Unified ValidationError and BinderResult into BinderValidationStatus. Renamed ValidationStatusChangeEvent into ValidationStatus. Unified handler names for validation status. Next patch will fix resetting of field errors on reset. Change-Id: I9536d554d781fe599fbd7e5bcb5a9ffebe675ca0
* Add hasChanges to BinderAleksi Hietanen2016-09-121-0/+27
| | | | Change-Id: Id308bd9b08973804e61706192c96118fd6446d3f
* Remove unused SingleSelectionJohannes Dahlström2016-09-122-206/+2
| | | | Change-Id: I33afc94a581d77984f459b0cbd0ff7fe49df8e79
* Implement new RichTextAreaArtur Signell2016-09-123-1/+206
| | | | Change-Id: I6f430c77caaad6d610133f340eba960f2268897e
* Add AbstractSingleSelection base classJohannes Dahlström2016-09-121-0/+175
| | | | | | | | Uses RPC for client-to-server but leaves server-to-client to implementation. SimpleSingleSelection uses shared state; lazy-loading implementations to pass selection info along with item data. Change-Id: I97c1dfa28eee39aef43eabbfbac56cd83fa5747c
* Add Form level status handler and status labelPekka Hyvönen2016-09-082-10/+330
| | | | | | | This feature doesn't make a whole lot of sense until form level status changes are available. Change-Id: Ie634c4a6b3511b7cbf9e367192034934b0e0d4b0
* Remove strange TextField column APIArtur Signell2016-09-071-3/+1
| | | | Change-Id: I1cfa901b8699afafe490ec4e8045c643c7912e89
* Reimplement basic Grid renderersLeif Åstrand2016-09-061-1/+1
| | | Change-Id: Ic855143d23cc7735d00130806df45b6579ba0d5c
* Clean up old Grid selection modelsTeemu Suo-Anttila2016-09-061-0/+34
| | | | | | | This patch removes old Grid selection model APIs in favor of the new common SelectionModel API. Change-Id: Iab8f2921930a575012c7da6226811d14a7145271
* Add documentation test for custom convertersArtur Signell2016-09-051-0/+47
| | | | Change-Id: I84621b6b568095b1b7f86068fa992dd570f8a103
* Use diamond operator where it can be usedArtur Signell2016-09-0528-57/+57
| | | | | | Does not modify compatibility packages to keep to closer to Vaadin 7.7 Change-Id: Ic9c4944eb90218290545a04ecd7455eb63910012
* Add error message constructor to all converters which can failArtur Signell2016-09-0513-60/+152
| | | | Change-Id: I3ec60effc75e22765d21e0223ee1537ffbdb29e7
* Add item level validator support to BinderDenis Anisimov2016-09-023-26/+309
| | | | | | | | An item level validator is run on the item (bean) after field validators have passed. A failed item level validator will block save operations, just like field level validators. Change-Id: I3b918b33371ceef07cdfbd0a8b6d477d4ac26b85
* UnitTest for SingleSelectionelmot2016-09-012-0/+208
| | | | Change-Id: I40b3b9bae7c1eb96377c0a593faee59ef52109fb
* Reintroduce frozen columns and height by rows to GridTeemu Suo-Anttila2016-09-012-1/+54
| | | | Change-Id: I5fecfabd023b39dc252e47a6aa403a79034b0f3d
* Implement Binder.saveIfValid and fix Binder.save to throw exceptionArtur Signell2016-08-311-3/+51
| | | | Change-Id: I44498b4b34b2e9732b50abb14e8eb7be01314158
* Format the project using Neon, remove trailing whitespaceArtur Signell2016-08-311-4/+4
| | | | Change-Id: I145e20226958910c243b9897bb1e9516919f55cd
* Implement SingleSelection on client and serverJohannes Dahlström2016-08-311-34/+4
| | | | Change-Id: I48192de092c6b6e6be7ca2580720d2765962e167
* Rename TypedDataGenerator to DataGeneratorJohannes Dahlström2016-08-311-3/+3
| | | | | | | Also add a no-op default implementation to destroyData, making DataGenerator a functional interface. Change-Id: I546f443150da23debd4a2691003e435367469439
* Implement DetailsGenerators for GridTeemu Suo-Anttila2016-08-291-0/+90
| | | | Change-Id: I09057b990f10bde6cf72a16677e58cb2bc9a7029
* Move remaining Vaadin 7 classes to the compatibility packageArtur Signell2016-08-263-109/+5
| | | | Change-Id: I3be37350a638028d89fb527a3dfb09e74fdebeed
* Implement new LabelArtur Signell2016-08-266-325/+30
| | | | | | | Label does intentionally not implement HasValue as it cannot provide a value to a model Change-Id: I36b8e1794d64caf566fa802177051ae2eb637bf9
* Move old Field and AbstractField to compatibility packageArtur Signell2016-08-263-218/+1
| | | | Change-Id: Ia9b6f77763abac87ec61d1ee198cb8d41419a934
* Move old TextField to compatibility packageArtur Signell2016-08-2633-2509/+3
| | | | Change-Id: Ic1e8d3f9859f5e496c0e27e2fece4b5a9da74f01
* Update TextArea to extend AbstractFieldNew (#53)Aleksi Hietanen2016-08-262-0/+111
| | | | Change-Id: I72400695f3b015add07be9709e48b5f99ce619cf
* Convert LoginForm to use new TextFieldArtur Signell2016-08-251-0/+107
| | | | | | Add basic tests for logging in and for changing caption Change-Id: I6dca2eedb5832db0eb409f0621092d0e723e0654
* Add SelectionModel interface and selection API to ListingJohannes Dahlström2016-08-251-4/+40
| | | | | | Concrete selection models not implemented in this patch. Change-Id: Ibcd64817efa704b6dd664bfaccb2d8c5110720fb
* Move LegacyWindow back to com.vaadin.uiArtur Signell2016-08-253-3/+3
| | | | | | | There are too many dependencies between Legacy* and the core framework to be able to easily separate them. Change-Id: I6888e7a370b5d8da587e421abe3cb4686855c72f
* Change declarative support to use new convertersArtur Signell2016-08-241-4/+3
| | | | Change-Id: I3bb2c106a4c4d8556f6f752867da1917e0d3c9a3
* Convert Vaadin 7 converters to Vaadin 8 convertersArtur Signell2016-08-2430-186/+669
| | | | Change-Id: I347e6cd195b2d77ab2399667a69e4c23b0b54eb7
* Add listing extension to allow access to data communicatorTeemu Suo-Anttila2016-08-241-17/+39
| | | | Change-Id: I4eca9884cf0195bab68d282bf1a6fd8c8b48a0fb
* Make binder set null values correctlyArtur Signell2016-08-241-0/+23
| | | | Change-Id: I5edf6136f155a9ee5dc5fd6286004f4e8cd8c3db
* Move Item to compatibility packageArtur Signell2016-08-241-14/+0
| | | | Change-Id: I51ad45a18d2dcfbd582c7e4bdcca99300d20cee0
* Remove duplicate tests and rename tests BinderTestPekka Hyvönen2016-08-231-72/+6
| | | | | | | | BinderTest had duplicate tests which are now removed. Remaining Binding tests are renamed. Change-Id: I1b572dcdf40a8d6b4e7e0ce8caa943f8aaaf8320