summaryrefslogtreecommitdiffstats
path: root/server/src/main
Commit message (Collapse)AuthorAgeFilesLines
* Reintroduce grid column sizingAleksi Hietanen2016-09-231-14/+347
| | | | Change-Id: Ie5e91c3e9c8f2c9d8c05415d5602e2eaf3bd960b
* Re-add back Form to compatibility package (#296).Denis Anisimov2016-09-221-0/+53
| | | | Change-Id: Id187402e78e3c368ae6530f7b7ea68d2e6c4a6ca
* Fix typo in documentationSteven Spungin2016-09-221-1/+1
| | | | Change-Id: I1829680ae358d436b7b657125a9981827f173dd6
* Make CheckBoxGroup.SimpleMultiSelectModel return a selection copy #293.Denis Anisimov2016-09-211-1/+1
| | | | | | | 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-1/+10
| | | | | | | BeanBinder may throw a ClassCastException in some cases because of explicit "cast" call which doesn't do boxing/unboxing. Change-Id: I8fc61612c2912f2626c075a4fc19cb812adf8aa2
* Move ItemIconProvider out of ComboBox, rename to IconGeneratorAleksi Hietanen2016-09-212-28/+61
| | | | Change-Id: I884a52c75b3be5573cf6634f211d72d09de69d80
* Reintroduce grid column hidingAleksi Hietanen2016-09-201-3/+227
| | | | Change-Id: I8a0344dffe3f2ef84f8134e05d9b7340d9b603a0
* Move ItemCaptionProvider out of ComboBox (#184).Denis Anisimov2016-09-202-29/+61
| | | | Change-Id: I7dc98de04127c7495aed81b9e0cd2be8cb12b10c
* Override forSelect methods for BeanBinder to return narrowed type.Denis Anisimov2016-09-201-0/+17
| | | | Change-Id: Ib97117d8d0b450edc49309902df535361e901942
* Move ItemStyleProvider out of ComboBox and unify with GridAleksi Hietanen2016-09-203-68/+98
| | | | Change-Id: Ic49fdbf651e9e3ef4ffd6944de597c2fd2f185da
* Create a RadioButtonGroup that replaces the single select case of OptionGroupelmot2016-09-161-0/+236
| | | | Change-Id: I56b0f1dfa889e2eaa3db9b0b0aac860f1bb4dea8
* Fix regression that broke widget set compilation in 7.7.1 (#20285)Ingo Kegel2016-09-161-1/+1
| | | | | | | | | | The fix for https://dev.vaadin.com/ticket/20262 broke widget set compilation on Windows, possibly only under certain circumstances Change-Id: Ica559b9c7199014bf1a2babad29f53b083ff74a2
* Add CheckBoxRendererAleksi Hietanen2016-09-151-0/+46
| | | | Change-Id: I32d31d758ee3c313133c7b122bb3ea8dcfcc1cc3
* Update @since tags for 8.0Henri Sara2016-09-141-1/+1
| | | | Change-Id: Iec8a81424e1cae9c3dc6c760732e0d48c4a38af2
* Implement support for binding multi-select componentsLeif Åstrand2016-09-144-45/+195
| | | | | | | 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-147-16/+270
| | | | | | | 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-143-21/+130
| | | | Change-Id: I340e802e5c8e6e036b54f81ec46beeb5e1c34329
* Add multi selection support to CheckBoxGroupLeif Åstrand2016-09-143-55/+255
| | | | | | | | 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-141-0/+247
| | | | Change-Id: I7c3cf7be95eaf451be806cb75b7b2a34fc534deb
* Create a CheckBoxGroup that replaces the multi select case of OptionGroupelmot2016-09-131-0/+262
| | | | 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-131-0/+4
| | | | | | | 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-1310-157/+108
| | | | | | Mostly based on comments on a previous patch that was merged. Change-Id: I146995853b3318d89061f1d06ab4bbd859168661
* Clear binder errors after load/bindPekka Hyvönen2016-09-133-3/+61
| | | | | | | 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-1313-0/+2696
| | | | | | | 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-1211-441/+544
| | | | | | | | | | | 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-121-2/+33
| | | | 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-121-144/+0
| | | | 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-125-56/+259
| | | | Change-Id: I6f430c77caaad6d610133f340eba960f2268897e
* Add AbstractSingleSelection base classJohannes Dahlström2016-09-121-29/+129
| | | | | | | | 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-085-25/+295
| | | | | | | 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-071-26/+0
| | | | 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-068-24/+885
| | | Change-Id: Ic855143d23cc7735d00130806df45b6579ba0d5c
* Clean up old Grid selection modelsTeemu Suo-Anttila2016-09-064-13/+32
| | | | | | | This patch removes old Grid selection model APIs in favor of the new common SelectionModel API. Change-Id: Iab8f2921930a575012c7da6226811d14a7145271