aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove redundant castsPer-Åke Minborg2016-11-023-6/+6
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7211
* Add private constructor for utility classesPer-Åke Minborg2016-11-0214-0/+42
| | | | Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7210
* Make SelectionModel API only server side.Denis Anisimov2016-11-028-10/+234
| | | | | | | Client side doesn't use selection model anymore. Fixes vaadin/framework8-issues#421 Change-Id: If3ecb1c2f3a0024df9bfdfd182eaf8cf8625ac75
* Move read-only to AbstractFieldState (#8514)Teemu Suo-Anttila2016-11-021-9/+23
| | | | Change-Id: I0baea991bd80075d63c5d57e3b07f4e9fcb12676
* Create SingleSelect semantic interface which extends HasValue.Denis Anisimov2016-11-022-1/+32
| | | | Change-Id: I132f814105ce97cf625e59f78731bea778ae2cfd
* Clean up state hierarchy for AbstractFieldStateTeemu Suo-Anttila2016-11-022-15/+15
| | | | Change-Id: I33c8c977bf8cd2d4c637d7988586496ce963465f
* Move setReadOnly from Component to HasValueTeemu Suo-Anttila2016-11-0211-108/+100
| | | | Change-Id: Ib867b71cab4cf5cda89f272986930297b7a84ced
* Add Bindinding.setRequiredPekka Hyvönen2016-11-023-128/+52
| | | | | | | | | | Shorthand for making field show required indicator and validating against empty. Removes obsolete NotNullValidator and NotEmptyValidator. Latter is still used in some tests, that why it is still in test packages. Fixes vaadin/framework8-issues#29 Change-Id: Ib116739a20a0bbd1b1460423ee36ed2752c5496a
* Introduces ValidationResult interface to replace Result in validators.Denis Anisimov2016-11-0115-85/+215
| | | | | | Fixes vaadin/framework8-issues#414 Change-Id: I2d4e101f29542fadfdd30ce63455a0e078e0e735
* Add error message provider to provide translationsTeemu Suo-Anttila2016-11-013-4/+129
| | | | Change-Id: I657535d377c471369e8c77fa1db946c490023939
* Replace setRequired & HasRequired with setRequiredIndicatorPekka Hyvönen2016-11-019-63/+137
| | | | | | | | | | | Vaadin 7 compatiblity fields still use setRequired via AbstractField (legacy). Public setRequiredIndicator is added to AbstractField, AbstractMultiSelect and AbstractSingleSelect. Internally it is still handled on AbstractComponent & -Connector level. Changes the declarative syntax, required -> required-indicator-visible. Fixes vaadin/framework8-issue#419 Change-Id: I940dc66944d27584bd78e5452aee627ee3abd03a
* Implement focus/blur events for RadioButtonGroup.Denis Anisimov2016-10-311-1/+39
| | | | | | Fixes vaadin/framework8-issues#333 Change-Id: I55f5d6a0cd690f2c0b5e757318a5f528a67ef34e
* Implement focus/blur listeners for NativeSelect.Denis Anisimov2016-10-311-3/+41
| | | | | | Fixes vaadin/framework8-issues#332 Change-Id: I19996ea83ed1fbe2b115d92d6be5e6a5e158f283
* Implement focus and blur events for CheckBoxGroup.Denis Anisimov2016-10-317-41/+115
| | | | | | | Fixes vaadin/framework8-issues#334 Change-Id: I4c7ca424cc4f4a1f0cdecd7671827465ab74ace7
* Remove Locale from BeanValidator because of ValueContextPekka Hyvönen2016-10-312-50/+19
| | | | | | Fixes vaadin/framework8-issues#417 Change-Id: I0d299cb040cc21e9708906f12f4133109f1b2a90
* Serve static files also in servletPath/VAADIN (#14398)Artur Signell2016-10-291-22/+22
| | | | Change-Id: I6891827a1fb99216d4e286c761d1384a88000604
* Remove JavaDoc mentions of RepaintRequestEvent (#19953)Leif Åstrand2016-10-284-19/+3
| | | | Change-Id: Ief1191b34018e6049c8d20d341150c0b9804f621
* Add ValueContext to ValidatorsTeemu Suo-Anttila2016-10-2610-44/+54
| | | | Change-Id: I2ac99adf1fdb60dc0638e6fe98c4542ebd5f21a5
* Rename Binder methodsPekka Hyvönen2016-10-263-107/+123
| | | | | | | | | | | save -> writeBean, saveIfValid -> writeBeanIfValid, load -> readBean, bind -> setBean, unbind -> removeBean. Now setBean accepts null to reset the bean instead of throwing NPE. Closes vaadin/framework8-issues#91 Change-Id: I42cbad5856cac11a03bfcefd0fa91a02c41b7234
* Disable default null representation one way converter.Denis Anisimov2016-10-262-20/+98
| | | | | | Fixes vaadin/framework8-issues/#404 Change-Id: I9e07a7de5f67bbd7a5a59cf10cc1a8579cdfbbad
* Introduce "shouldWriteDefaultValues" property to DesignContext.Denis Anisimov2016-10-2621-72/+101
| | | | Change-Id: I979448e5af032333a6a2f7b99b11ab16c41d7b18
* Remove undocumented, unused extra default methods from ConverterTeemu Suo-Anttila2016-10-251-11/+0
| | | | Change-Id: I36a1deaadbb85d4b699c581058c80a7cd6e314fc
* Grid html/component content in headersAleksi Hietanen2016-10-252-20/+173
| | | | Change-Id: Ie6129b51d15d4f30a6b4c034999ff02deec1c6a7
* Fix setValue() methods behavior null argument value + javadocsTeemu Suo-Anttila2016-10-2514-25/+130
| | | | Change-Id: I0000c1caf7c129634473161fe4876931f3c8dabf
* Update ValueChange API to use Component and HasValue<>.Denis Anisimov2016-10-2516-107/+128
| | | | Change-Id: I785aa82d925cadee42cc1b17d345a8923f6dc8cc
* Binder.bindInstanceFields(Object) method implementation (#47).Denis Anisimov2016-10-253-1/+299
| | | | | | Binds class instance fields using reflection using Binder.forField() Change-Id: I597f3832d112cfa69c73fb185f1564c482e4eb15
* Correct serializable issues and test that components can be serializedLeif Åstrand2016-10-2418-90/+284
| | | | Change-Id: Iac8f0f48806c0a7c3030bd406e2e533104f26753
* Add ValueContext parameter for ConvertersTeemu Suo-Anttila2016-10-2424-85/+240
| | | | Change-Id: I47179b06b9e345f5a454ac1806d0bc9bcac24bcf
* Move old SelectionEvent to V7 and create a new selection event supertype Denis Anisimov2016-10-244-136/+60
| | | | Change-Id: I17496c803f81fdaa98e47cbfcc9bdc91625c134f
* Initial support for null representations in BinderTeemu Suo-Anttila2016-10-249-38/+105
| | | | Change-Id: If40bfa28764d1399b5ed4d5928988560e9989dce
* Add utility for outputting the full declarative syntax of componentsAleksi Hietanen2016-10-242-3/+17
| | | | Change-Id: I4bc740154ffb5a30892b1859a7550a7aeff94fb3
* Derive Listing components from HasValue.Denis Anisimov2016-10-215-207/+113
| | | | | | | Single select components implement HasValue<T> and mutliselect components implements HasValue<Set<T>>. Change-Id: Ic280a43bf021efd7425cce04e75010b6745fd698
* Revert "Initial support for null representations in Binder"Denis Anisimov2016-10-204-86/+30
| | | | | | This reverts commit 9f672890c143098b266ede6397e89379a38cc098. Change-Id: I0952a7f9c7efc8a5d7de9987277b835d92d52b39
* Initial support for null representations in BinderTeemu Suo-Anttila2016-10-204-30/+86
| | | | Change-Id: I1325c629da220317506306fe8f6fff5c0494d9d9
* Implement basic footer support for GridTeemu Suo-Anttila2016-10-192-0/+259
| | | | Change-Id: I3db51521320767a28bc3acd9586b1453764a15bc
* Throw exception from multiple columns with same identifierTeemu Suo-Anttila2016-10-191-3/+10
| | | | Change-Id: Ibb002cb862a7d0069ce4757e4c11482f6ae4d354
* Add "valo-menu-hover" stylename to make responsive menu appear w/o adding ↵Marc Englund2016-10-171-3/+23
| | | | | | | | | code (#19019) Adding the optional "valo-menu-hover" style to the "valo-menu" element will make the menu appear on hover - i.e when mousing over on desktop, when tapping on touch devices (which also triggers hover). Change-Id: I4ee83cdd0e4198e02782cfcda945193305c41152
* Use identifiers for Grid ColumnsTeemu Suo-Anttila2016-10-171-22/+76
| | | | Change-Id: Id229e533fc4ff58bdd2ce3862481f72210ed9e89
* Use diffstate for JS connectors (#20335)Leif Åstrand2016-10-171-7/+46
| | | | Change-Id: If2401d724f782ee76f92a6b89c54e51f90218bee
* Use placeholder instead of inputPrompt for DateFieldPekka Hyvönen2016-10-141-24/+11
| | | | | | | | | Renames the API server side and uses placeholder attribute for input. Removed PopupDateFieldInputPrompt test since it tests input prompt logic, that is no longer there after switching to native placeholder attribute for input element. Change-Id: I5c66456781f8703ba2e253134b88f8372825528f
* Move all themes except Valo into a new compatibility-themes packageAleksi Hietanen2016-10-135-867/+1
| | | | Change-Id: Ife0707c69bac83f190b5497af5fef1af43af6e46
* Remove AbstractComponent.immediatePekka Hyvönen2016-10-138-116/+37
| | | | | | | | | | | | | All components are now in immediate mode by default. V7 compatibility components will use AbstractLegacyComponent that has immediate. V7 ColorPickerPopup will not have setImmediate, since it extends V8 Window, which is not in V7 compatibility packages. Removed OutOfSync and ResynchronizeAfterAsyncRemoval Tests, since those tested UI in not immediate mode, which is invalid now. Removed WindowResizeListener, LazyWindowResize, test UIs, since both used immediate and there were no test run for either. Change-Id: Ie1c8cfa4c48461db944ff9b13efe8473c5a3298f
* Update Binder to consistently use "bean" instead of "item"Aleksi Hietanen2016-10-121-41/+41
| | | | Change-Id: I1a33e451df8a28f82a02b5210ad0a538f3e12633
* Separate immediate mode for Upload from AbstactComponent.immediatePekka Hyvönen2016-10-071-20/+31
| | | | | | | | Makes it possible to remove the immediate from AbstractComponent. Part 2 / 2 of adding proper Upload immediateMode, first was to move old Upload to v7 compatiblity packages. Change-Id: Iff99df70d9465fa1f3bad4baae44a0488eba01c0
* Add support for binder status change events (#208).Denis Anisimov2016-10-063-24/+222
| | | | Change-Id: Ic8dee407569ee310f007ebe32660a1d2922e9493
* Reintroduce reordering of grid columnsAleksi Hietanen2016-10-061-31/+220
| | | | Change-Id: If8a23427ef5500a0177081c4be8065d2d5a0ca4c
* Make Valo the default themePekka Hyvönen2016-10-062-2/+5
| | | | | | | | | | LegacyApplication explicitly uses "reindeer" as default theme. Extended AbstractTestUI to AbstractReindeerTestUI, that all old tests now inherit. All new tests should be based on AbstractTestUI. Also added AbstractReindeerTestUIWithLog for those that needed it. Removed all found @Theme("valo") and used proper parent test class. Change-Id: I0bb45850f3f1d39c6f78dac35dfa08acbad427ad
* Make ColorPicker subcomponents HasValuesJohannes Dahlström2016-10-0512-583/+210
| | | | Change-Id: Ia0502ef515e2b44f105a3a4c6ae7b0b62b8ab6bb
* Update documentation (+javadoc) references to obsolete OptionGroup #237.Denis Anisimov2016-10-051-5/+5
| | | | Change-Id: Ie90e91f61a5795c90de3c690c3b6af80ec1448d9
* Clean up ColorPickerPopupJohannes Dahlström2016-10-031-55/+32
| | | | Change-Id: I3d7f398b34c0a2627a99d29f731c08be0c6df4c9