summaryrefslogtreecommitdiffstats
path: root/server/src
Commit message (Collapse)AuthorAgeFilesLines
* Update @since tags for 8.0Henri Sara2016-09-142-2/+2
| | | | Change-Id: Iec8a81424e1cae9c3dc6c760732e0d48c4a38af2
* Implement support for binding multi-select componentsLeif Åstrand2016-09-148-70/+474
| | | | | | | 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-1412-22/+572
| | | | | | | The method refreshAll() fires an event which is handled by UI components to reload their content. Change-Id: Ibbbe1f24b08ed883f0dda93c3ff6f05f380e9eaa
* Use state for ComboBox selectionHenri Sara2016-09-141-14/+1
| | | | Change-Id: I612376b4030a750c987ba2d8016a4dc44bc02d41
* Convert ComboBox to inherit AbstractSingleSelectHenri Sara2016-09-142-100/+62
| | | | | | | ComboBoxState now inherits AbstractSingleSelectState, but still effectively communicates its selection via RPC. Change-Id: I47b6a73f275e0c4c63d70d2c2c8badc95a218157
* Implement support for binding single-select componentsJohannes Dahlström2016-09-144-21/+239
| | | | 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-144-55/+309
| | | | | | | | 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-143-0/+453
| | | | Change-Id: I7c3cf7be95eaf451be806cb75b7b2a34fc534deb
* Create a CheckBoxGroup that replaces the multi select case of OptionGroupelmot2016-09-132-0/+308
| | | | Change-Id: I250c60741bc65443b66498a8d0b17541edb77bf1
* Fix invalid javadoc in ListDataSourcePekka Hyvönen2016-09-131-3/+11
| | | | Change-Id: I71e808554d10657ead61271c1c5cc76981214ee3
* Fix binder.load to reset validation status in the endPekka Hyvönen2016-09-132-1/+43
| | | | | | | 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-1312-197/+149
| | | | | | Mostly based on comments on a previous patch that was merged. Change-Id: I146995853b3318d89061f1d06ab4bbd859168661
* Clear binder errors after load/bindPekka Hyvönen2016-09-134-3/+135
| | | | | | | 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
* Add context event support to new GridArtur Signell2016-09-131-1/+91
| | | | Change-Id: I21c5bb95feb3dbab1b543943adc0584aa8eec87b
* Change ColorPicker to use new ComboBoxArtur Signell2016-09-1315-0/+2840
| | | | | | | 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-1214-621/+871
| | | | | | | | | | | 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
* Update ComboBox for new DataSource and communication mechanismHenri Sara2016-09-121-0/+690
| | | | | | | | This simplifies the client side state machine. This change does not modify the CSS class name v-filterselect. Change-Id: I2f4a6e5252045cb7698d582be90693e00961b342
* Add hasChanges to BinderAleksi Hietanen2016-09-122-2/+60
| | | | Change-Id: Id308bd9b08973804e61706192c96118fd6446d3f
* Add selection support to NativeSelectJohannes Dahlström2016-09-121-19/+2
| | | | Change-Id: Iabe563852150a7d690f6e2edaa40253d03127881
* Update NativeSelect to use DataSource, extend AbstractListingJohannes Dahlström2016-09-121-0/+114
| | | | | | Selection and focus/blur support not yet implemented. Change-Id: I76752084442216e60055d93367475c1c0a612787
* Remove unused SingleSelectionJohannes Dahlström2016-09-123-350/+2
| | | | Change-Id: I33afc94a581d77984f459b0cbd0ff7fe49df8e79
* Reimplement Grid selection model in terms of AbstractSingleSelectionJohannes Dahlström2016-09-121-6/+42
| | | | Change-Id: Id21cb0df32e07bd01f90a29a814dcf0775067bfa
* Implement new RichTextAreaArtur Signell2016-09-128-57/+465
| | | | Change-Id: I6f430c77caaad6d610133f340eba960f2268897e
* Add AbstractSingleSelection base classJohannes Dahlström2016-09-122-29/+304
| | | | | | | | 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 ItemClick events to GridTeemu Suo-Anttila2016-09-121-1/+115
| | | | Change-Id: I9d761245e99cde62d0e56b89e5cbb0398fd4c363
* Add a simple non-connector single selection modelJohannes Dahlström2016-09-124-55/+273
| | | | | | To eventually replace SingleSelection. Change-Id: I623dfa962bce62067a5b35dc14be26b3de333e9b
* Migrate ClickableRenderer and subclassesAleksi Hietanen2016-09-0910-37/+386
| | | | Change-Id: I233250d9b68052825b73bed0288fffeaf5bdd04b
* Add Form level status handler and status labelPekka Hyvönen2016-09-087-35/+625
| | | | | | | This feature doesn't make a whole lot of sense until form level status changes are available. Change-Id: Ie634c4a6b3511b7cbf9e367192034934b0e0d4b0
* Add DescriptionGenerators for Grid and ColumnsTeemu Suo-Anttila2016-09-081-2/+82
| | | | Change-Id: Ib32726ba3297a05cbc05898f37579777b9a921e0
* Add StyleGenerators for Grid and ColumnsTeemu Suo-Anttila2016-09-082-13/+99
| | | | Change-Id: I5eedce6ac24381d657357ff07ca1ccedd804158d
* Update empty since tags for 8.0Henri Sara2016-09-0815-16/+16
| | | | Change-Id: Iacf3864f6902e810591e2085adb44d0a6848f51c
* Make sure DataCommunicator always has a DataSourceTeemu Suo-Anttila2016-09-072-5/+3
| | | Change-Id: I8da042e68da1d28bff87965adeee75aa60b6021d
* Remove strange TextField column APIArtur Signell2016-09-072-29/+1
| | | | Change-Id: I1cfa901b8699afafe490ec4e8045c643c7912e89
* Add AbstractTextField client side to make mapping 1:1Artur Signell2016-09-073-10/+16
| | | | Change-Id: I4439b995a769d22e0eded7132e2fb09123c25a49
* Improve listing and data source Javadocs a bitJohannes Dahlström2016-09-073-20/+30
| | | | Change-Id: Ie3821df9bcb13af5f3955776a11d33fd2c16020e
* Reimplement basic Grid renderersLeif Åstrand2016-09-069-25/+886
| | | Change-Id: Ic855143d23cc7735d00130806df45b6579ba0d5c
* Clean up old Grid selection modelsTeemu Suo-Anttila2016-09-065-13/+66
| | | | | | | 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-0595-275/+275
| | | | | | 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-0522-114/+309
| | | | Change-Id: I3ec60effc75e22765d21e0223ee1537ffbdb29e7
* Add item level validator support to BinderDenis Anisimov2016-09-026-84/+557
| | | | | | | | 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-013-1/+210
| | | | Change-Id: I40b3b9bae7c1eb96377c0a593faee59ef52109fb
* Reintroduce frozen columns and height by rows to GridTeemu Suo-Anttila2016-09-013-1/+202
| | | | Change-Id: I5fecfabd023b39dc252e47a6aa403a79034b0f3d
* Add simple data change handling for SelectsTeemu Suo-Anttila2016-09-011-1/+1
| | | | Change-Id: I16f9577ea4091fb4febe167d76e141b5945f53ab
* Implement Binder.saveIfValid and fix Binder.save to throw exceptionArtur Signell2016-08-313-9/+157
| | | | Change-Id: I44498b4b34b2e9732b50abb14e8eb7be01314158
* Format the project using Neon, remove trailing whitespaceArtur Signell2016-08-3111-62/+60
| | | | Change-Id: I145e20226958910c243b9897bb1e9516919f55cd
* Implement SingleSelection on client and serverJohannes Dahlström2016-08-319-227/+357
| | | | Change-Id: I48192de092c6b6e6be7ca2580720d2765962e167
* Rename TypedDataGenerator to DataGeneratorJohannes Dahlström2016-08-316-67/+75
| | | | | | | Also add a no-op default implementation to destroyData, making DataGenerator a functional interface. Change-Id: I546f443150da23debd4a2691003e435367469439
* Use servlet context classloader when finding servlet class for websockets ↵Artur Signell2016-08-301-3/+7
| | | | | | (#20024) Change-Id: Ia885ecebe854c0aeda47be2bbc9a9d8a47a03d5c