Commit Graph

18364 Commits

Author SHA1 Message Date
Olli Tietäväinen
4a58876ee5 Add aria-modal attribute and role='dialog' for modal Window (#10447)
Fixes #10424
2018-01-09 15:36:55 +02:00
Artur
59a2dafdcb Add Notification.close() to hide a notification from the server (#10483)
Also fixes the problem that notifications were never removed on the server side

Fixes #2114, fixes #10481
2018-01-09 13:11:02 +02:00
Leif Åstrand
531320c505
Tweak date style API (#10493)
* Disallow some `null` arguments
* Return an unmodifiable map from getDateStyles(). This helps the
developer understand that changes to the returned map are
not automatically applied to the component.
* Remove redundant `@link` markup from `@see` in the javadocs.
2018-01-08 13:05:26 +02:00
Leif Åstrand
aa3a703437 Rename contentMode to descriptionContentMode in MenuItem (#10494) 2018-01-08 12:58:08 +02:00
Teemu Suo-Anttila
580d607444
Add missing since tags and JavaDocs (#10487) 2018-01-03 13:32:56 +02:00
Artur
2558f364c1 Make profiler work again (#10462) 2018-01-02 10:53:43 +02:00
Flamenco
d60b2733cf Fix wrong frontend URL in docs. (#10472)
* Fix wrong frontend URL in docs.

* Update HtmlImport.java
2017-12-30 21:16:55 +02:00
Teemu Suo-Anttila
3678772ed2 Update release notes for 8.3 (#10480) 2017-12-30 12:26:00 +02:00
Teemu Suo-Anttila
46da9629b1
Implement widget event handling for Columns in Grid (#10412)
Fixes #7833
2017-12-29 13:11:20 +02:00
Jonas Zipprick
0663acc471 Add ContentMode for the description of MenuItems (#9984)
Adds the ability to set the content mode for the description of a menu item that is part of a menu bar.
This functionality was already available for every AbstractComponent but missing for the menu items of menu bars.
If no content mode is specified it defaults to the PREFORMATED content mode.
2017-12-29 12:36:05 +02:00
Marco Collovati
1619d1f0bb Treat fields as readonly when bound with null setter (#10477)
Fixes #10476
2017-12-29 11:36:38 +02:00
Teemu Suo-Anttila
a0150a9899
Upgrade Vaadin CDI version to 3.0.0.alpha2 (#10226)
This patch also adds tests for PushState and URI Fragment navigation with CDI.
2017-12-29 10:53:45 +02:00
Teemu Suo-Anttila
d5198e67ef
Remove workarounds from Spring integration test (#10430)
This patch makes the BOM use Spring 3.0.0.alpha1
2017-12-29 10:04:40 +02:00
Marco Collovati
dfa18c4cd1 Fix javadoc for Notification TYPE_TRAY_NOTIFICATION (#10479)
Fixes #10434
2017-12-29 09:16:18 +02:00
Anna Koskinen
edc3b08def Allow setting custom styles to DateField calendar date cells (#10305)
Fixes #10304
2017-12-28 13:49:39 +02:00
Marco Collovati
aa1371c84a Add css class to selected items in CheckboxGroup and RadiobuttonGroup (#10394)
Adds v-select-option-selected class to the selected
group items in CheckboxGroup and RadiobuttonGroup
Fixes #3387
2017-12-28 11:54:17 +02:00
Marco Collovati
b35d2ae872 Make Binder.setReadonly ignore effectively readonly bindings (#10368)
Binder.setReadonly will ignore bindings with null setter
or property without an accessible setter when changing
field read only flag.

Fixes #10252
2017-12-28 10:04:50 +02:00
Artur
d9a0e1c22f Do not create DOM elements for initially hidden columns (#10465) 2017-12-28 09:58:19 +02:00
Adam Wagner
c95055e060 Change the order of inheritance to preserve user.agent property (#10470) 2017-12-27 13:29:28 +02:00
Olli Tietäväinen
30fdd68d44 Update Grid.addColumn JavaDoc to tell about nested properties (#10431) 2017-12-27 11:58:23 +02:00
Teemu Suo-Anttila
e0858a5f40
Use new validation screenshots (#10455) 2017-12-20 13:41:18 +02:00
Teemu Suo-Anttila
f022daaa8d
Force correct Selenium version for Spring Boot test (#10421) 2017-12-07 16:49:13 +02:00
David Steinkopff
c6dc21e5a0 Fix typo 2017-12-03 15:31:44 +02:00
Leif Åstrand
845daf7853
Clarify ContentMode javadocs (#10395)
* Don't refer to Label
* Explicitly mention XSS risk with HTML
2017-12-01 09:30:43 +02:00
Olli Tietäväinen
b153099d4e Escape CDATA element (#10377) 2017-11-29 13:39:50 +02:00
Guille
9c3bb236c5 Update to TestBench 5.1.1 (#10391) 2017-11-29 13:37:37 +02:00
AMahdy AbdelAziz
0bdf98c890 Update bean validation article to use FW8 APIs (#10387)
Suggested by [Jean-Christophe Gueriaud](https://vaadin.com/forum/#!/thread/16876180).

Closes #10386
2017-11-29 13:36:26 +02:00
Guille
cd8a5dab56 Update version number to 8.3-SNAPSHOT (#10390) 2017-11-29 11:55:10 +02:00
Teemu Suo-Anttila
7bf6967182
Fix selection column size calculation without data (#10384) 2017-11-29 11:21:14 +02:00
jtomass
e38e1f9057 Fix alpine docker image error (#10382) 2017-11-29 10:59:23 +02:00
Olli Tietäväinen
000ece94d8 Update vaadin.version in embedding documentation (#10383) 2017-11-28 16:12:31 +02:00
Anna Koskinen
0fd59e941b Fix styling of Window control buttons to show focus (#10285)
Fixes #8918
2017-11-28 13:34:00 +02:00
Teemu Suo-Anttila
d936003c92 Prevent killing UI if heartbeats are pending (#10371)
Fixes #9663
2017-11-27 13:15:56 +02:00
Teemu Suo-Anttila
780cab157d Add missing JavaDocs and since tags (#10372) 2017-11-24 12:51:22 +02:00
Aleksi Hietanen
7db9fd3666 Improve commit message example in CONTRIBUTING.md (#10357) 2017-11-23 16:13:11 +02:00
Teemu Suo-Anttila
dbf7da41eb
Fix issues from TestBench version upgrade (#10360) 2017-11-23 11:38:13 +02:00
Leif Åstrand
2fc7554779 Update to JSoup 1.11.2 (#10353)
Also update declarative writing to use true instead of "" for empty
attributes because of changed defaults in JSoup. For v7, the tests are
updated instead of touching the implementations.
2017-11-23 07:54:53 +02:00
Ahmed Ashour
acfd75ee2e DateField not to fire focus/blur event when going to sub-components (#10246)
Fixes `DateField blur event fires when focus gets to the "calendar button"` #1008
2017-11-23 07:54:27 +02:00
Anna Koskinen
e38ad29499 Fix AbstractIntegrationTest to use new TestBench API (#10358) 2017-11-23 07:51:20 +02:00
Teemu Suo-Anttila
e98bc8353c Fix RadioButtonGroupTest imports (#10354) 2017-11-22 15:57:10 +02:00
jcgueriaud
66f5303554 Update datamodel-forms.asciidoc (#10350)
This patch fixes the BinderValidationStatusHandler example in the documentation.
2017-11-22 13:58:08 +02:00
Teemu Suo-Anttila
27c5730e2a
Update version number to 8.3-SNAPSHOT (#10348) 2017-11-22 12:58:21 +02:00
Pekka Hyvönen
ea7c4a93cf Fix missing v-disabled for RadioButtonGroup and CheckBoxGroup options (#10332)
* Fix missing v-disabled for RadioButtonGroup
* Fix missing v-disabled for CheckBoxGroup

Resolves #9258
2017-11-22 12:36:07 +02:00
Ansku
ccf6f5c134 Test for MenuBar's WAI-ARIA attributes (#3922) (#10349) 2017-11-22 10:29:42 +02:00
Ahmed Ashour
bdceccd1aa Disabled ComboBox should not open popup on pasting (Fixes #7898) (#10240) 2017-11-22 09:31:56 +02:00
schaerl
3569a33239 Fix nested bean property name (#10271)
* Changed retrieval of names of nested properties (#10159)

The getName() function in NestedBeanPropertyDefinition will return only the top level name, which causes problems when adding a nested property that has the same name as a non-nested (e.g "value" & "sub.value")

This change should fix this behaviour by changing the return value of "getName()" of NestedBeanPropertyDefinition and introducing a function "getTopLevelName()" that only returns the last part of the full name for where it's needed
2017-11-22 07:26:57 +02:00
Teemu Suo-Anttila
c6f5c583ad
Improve Binder JavaDocs and APIs (#10347)
This patch also adds ValueChangeEvent as a parameter to field value change method in Binder.
2017-11-21 17:05:05 +02:00
Aleksi Hietanen
de5c9a394a Create DescriptionGenerator in package com.vaadin.ui (#10346)
Deprecate com.vaadin.ui.components.grid.DescriptionGenerator
and subclass it from the new DescriptionGenerator.
2017-11-21 17:03:25 +02:00
Aleksi Hietanen
f805482c60
Fix issues from API review for 8.2 (#10342)
* Rename HierarchicalDataCommunicator#getMapper to getHierarchyMapper

* Make rpc field in Notification private

* Change DropIndexCalculator.ALWAYS_DROP_TO_END to a generic static method

* Move EditorImpl#editRow documentation to the interface level

* Correct GridDragEndEvent, GridDragStartEvent constructor javadocs

* Revert SharedState.registeredEventListeners to a Set

* Rename GridDropTarget dropAllowedOnSortedGridRows

* Rename ColumnState.contentMode to tooltipContentMode
2017-11-21 14:25:42 +02:00
Aleksi Hietanen
0fbeb0a626
Extract AbstractBeanPropertyDefinition and PropertyFilterDefinition (#10344)
This commit extracts the private nested class AbstractBeanPropertyDefinition from BeanPropertySet to a public class of package com.vaadin.data.

Additionally, the nested protected class PropertyFilterDefinition is extracted from NestedBeanPropertyDefinition to a public class in package com.vaadin.data.
2017-11-21 14:24:10 +02:00