]> source.dussan.org Git - vaadin-framework.git/log
vaadin-framework.git
6 years agoSet no-store headers for error responses (#10628)
Leif Åstrand [Tue, 13 Feb 2018 12:58:33 +0000 (14:58 +0200)]
Set no-store headers for error responses (#10628)

6 years agoImplement focus handing in RadioButtonGroup and CheckboxGroup (#10440)
Olli Tietäväinen [Mon, 12 Feb 2018 13:14:49 +0000 (15:14 +0200)]
Implement focus handing in RadioButtonGroup and CheckboxGroup (#10440)
Fixes #10429

* implement focus handing in RadioButtonGroup, fixes #10429

* Merge branch 'master' of https://github.com/vaadin/framework into radiobuttongroup-focus

* merge

* Merge branch 'master' of https://github.com/vaadin/framework into radiobuttongroup-focus

* fix initial focus handling also on CheckBoxGroup and add tests

* add license headers

* Merge branch 'master' of https://github.com/vaadin/framework into radiobuttongroup-focus

* changed client to use lambdas and refactored focus testing to parent class

* made FocusTest abstract

* Merge branch 'master' of https://github.com/vaadin/framework into radiobuttongroup-focus

* don't allow focusing on disabled items & refactor focusing first item

6 years agoChange log level for "VaadinServlet Registration" message from WARNING to INFO (...
Ilia Motornyi [Wed, 7 Feb 2018 12:09:02 +0000 (14:09 +0200)]
Change log level for "VaadinServlet Registration" message from WARNING to INFO (#10613)

6 years agoFix Column.setSortable being overridden (#10604)
Teemu Suo-Anttila [Wed, 7 Feb 2018 11:56:58 +0000 (13:56 +0200)]
Fix Column.setSortable being overridden (#10604)

6 years agoFix GridLayout spacing if first row/column empty and set to be hidden (#10593)
Anna Koskinen [Tue, 6 Feb 2018 14:51:25 +0000 (16:51 +0200)]
Fix GridLayout spacing if first row/column empty and set to be hidden (#10593)

6 years agoFix Grid details height calculation issue (#10343)
Adam Wagner [Tue, 6 Feb 2018 09:10:33 +0000 (11:10 +0200)]
Fix Grid details height calculation issue (#10343)

6 years agoFix Grid initial render performance (#10579) 8.3.1
Teemu Suo-Anttila [Mon, 5 Feb 2018 13:24:16 +0000 (15:24 +0200)]
Fix Grid initial render performance (#10579)

Fixes #10232

6 years agoFix code example in DataProvider JavaDoc (#10601)
Ilia Motornyi [Mon, 5 Feb 2018 10:24:59 +0000 (12:24 +0200)]
Fix code example in DataProvider JavaDoc (#10601)

6 years agoFix ComboBox new item handler test (#10587)
Anna Koskinen [Mon, 5 Feb 2018 10:10:06 +0000 (12:10 +0200)]
Fix ComboBox new item handler test (#10587)

6 years agoOptimize style theme duplicates (#10534)
AJ [Wed, 31 Jan 2018 13:09:45 +0000 (05:09 -0800)]
Optimize style theme duplicates (#10534)

6 years agoUpdate release notes for maintenance release (#10588)
Teemu Suo-Anttila [Thu, 1 Feb 2018 13:20:04 +0000 (15:20 +0200)]
Update release notes for maintenance release (#10588)

6 years agoUpdate since tags for 8.3.1
Teemu Suo-Anttila [Wed, 31 Jan 2018 09:52:27 +0000 (11:52 +0200)]
Update since tags for 8.3.1

6 years agoSelection handling fix when adding new item to ComboBox. (#10445)
Anna Koskinen [Tue, 30 Jan 2018 09:53:10 +0000 (11:53 +0200)]
Selection handling fix when adding new item to ComboBox. (#10445)

Fixes #10284

6 years agoFixes Button constructor not setting up RPC (#10566)
Morgan Pittkin [Tue, 30 Jan 2018 05:34:46 +0000 (22:34 -0700)]
Fixes Button constructor not setting up RPC (#10566)

Fixes #10540

6 years agoUpdate release notes to mention correct Java versions (#10576)
Teemu Suo-Anttila [Mon, 29 Jan 2018 13:43:56 +0000 (15:43 +0200)]
Update release notes to mention correct Java versions (#10576)

6 years agoFix column width in resize event when mode is SIMPLE (#10442)
Adam Wagner [Mon, 29 Jan 2018 12:48:28 +0000 (14:48 +0200)]
Fix column width in resize event when mode is SIMPLE (#10442)

6 years agoFix removeUI assertions to work with proxy UIs (#10574)
Teemu Suo-Anttila [Mon, 29 Jan 2018 11:51:02 +0000 (13:51 +0200)]
Fix removeUI assertions to work with proxy UIs (#10574)

6 years agoFix Grid not updating selected item immediately (#10569)
Teemu Suo-Anttila [Thu, 25 Jan 2018 12:36:51 +0000 (14:36 +0200)]
Fix Grid not updating selected item immediately (#10569)

6 years agoMake modal window focus circulate correctly (#10497)
Olli Tietäväinen [Wed, 24 Jan 2018 09:29:10 +0000 (11:29 +0200)]
Make modal window focus circulate correctly (#10497)

6 years agoUpdate release notes for release candidate (#10554) 8.3.0 8.3.0.rc1
Teemu Suo-Anttila [Mon, 22 Jan 2018 15:12:15 +0000 (17:12 +0200)]
Update release notes for release candidate (#10554)

6 years agoUse Spring and CDI 3.0.0 (#10550)
Teemu Suo-Anttila [Fri, 19 Jan 2018 09:47:15 +0000 (11:47 +0200)]
Use Spring and CDI 3.0.0 (#10550)

6 years agoUpdate Spring and CDI versions in BOM (#10530) 8.3.0.beta2
Teemu Suo-Anttila [Fri, 12 Jan 2018 13:34:25 +0000 (15:34 +0200)]
Update Spring and CDI versions in BOM (#10530)

6 years agoRename widgetEventsAllowed to handleWidgetEvents (#10529)
Leif Åstrand [Fri, 12 Jan 2018 11:49:45 +0000 (13:49 +0200)]
Rename widgetEventsAllowed to handleWidgetEvents (#10529)

6 years agoEnsure Upload is properly reset after an upload is interrupted (#10522)
Anna Koskinen [Thu, 11 Jan 2018 14:20:43 +0000 (16:20 +0200)]
Ensure Upload is properly reset after an upload is interrupted (#10522)

Fixes #9635

6 years agoFix tests for Chrome 63 and focus issues in IE11 (#10495)
Teemu Suo-Anttila [Wed, 10 Jan 2018 10:47:21 +0000 (12:47 +0200)]
Fix tests for Chrome 63 and focus issues in IE11 (#10495)

6 years agoRecognise Firefox and its version on iOS (#10466)
Adam Wagner [Wed, 10 Jan 2018 09:40:42 +0000 (11:40 +0200)]
Recognise Firefox and its version on iOS (#10466)

Fixes #9592

6 years agoFix space key on selection checkbox to select grid row (#10388)
Marco Collovati [Tue, 9 Jan 2018 13:42:49 +0000 (14:42 +0100)]
Fix space key on selection checkbox to select grid row (#10388)

Fixes #10221

6 years agoAdd aria-modal attribute and role='dialog' for modal Window (#10447)
Olli Tietäväinen [Tue, 9 Jan 2018 13:36:55 +0000 (15:36 +0200)]
Add aria-modal attribute and role='dialog' for modal Window (#10447)

Fixes #10424

6 years agoBackport fix for removing Notifications on close (#10504)
Teemu Suo-Anttila [Wed, 10 Jan 2018 08:30:57 +0000 (10:30 +0200)]
Backport fix for removing Notifications on close (#10504)

6 years agoTweak date style API (#10493) 8.3.0.beta1
Leif Åstrand [Mon, 8 Jan 2018 11:05:26 +0000 (13:05 +0200)]
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.

6 years agoRename contentMode to descriptionContentMode in MenuItem (#10494)
Leif Åstrand [Mon, 8 Jan 2018 10:58:08 +0000 (12:58 +0200)]
Rename contentMode to descriptionContentMode in MenuItem (#10494)

6 years agoAdd missing since tags and JavaDocs (#10487) 8.3.0.alpha1
Teemu Suo-Anttila [Wed, 3 Jan 2018 11:32:56 +0000 (13:32 +0200)]
Add missing since tags and JavaDocs (#10487)

6 years agoMake profiler work again (#10462)
Artur [Tue, 2 Jan 2018 08:53:43 +0000 (10:53 +0200)]
Make profiler work again (#10462)

6 years agoFix wrong frontend URL in docs. (#10472)
Flamenco [Sat, 30 Dec 2017 19:16:55 +0000 (14:16 -0500)]
Fix wrong frontend URL in docs. (#10472)

* Fix wrong frontend URL in docs.

* Update HtmlImport.java

6 years agoUpdate release notes for 8.3 (#10480)
Teemu Suo-Anttila [Sat, 30 Dec 2017 10:26:00 +0000 (12:26 +0200)]
Update release notes for 8.3 (#10480)

6 years agoImplement widget event handling for Columns in Grid (#10412)
Teemu Suo-Anttila [Fri, 29 Dec 2017 11:11:20 +0000 (13:11 +0200)]
Implement widget event handling for Columns in Grid (#10412)

Fixes #7833

6 years agoAdd ContentMode for the description of MenuItems (#9984)
Jonas Zipprick [Fri, 29 Dec 2017 10:36:05 +0000 (11:36 +0100)]
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.

6 years agoTreat fields as readonly when bound with null setter (#10477)
Marco Collovati [Fri, 29 Dec 2017 09:36:38 +0000 (10:36 +0100)]
Treat fields as readonly when bound with null setter (#10477)

Fixes #10476

6 years agoUpgrade Vaadin CDI version to 3.0.0.alpha2 (#10226)
Teemu Suo-Anttila [Fri, 29 Dec 2017 08:53:45 +0000 (10:53 +0200)]
Upgrade Vaadin CDI version to 3.0.0.alpha2 (#10226)

This patch also adds tests for PushState and URI Fragment navigation with CDI.

6 years agoRemove workarounds from Spring integration test (#10430)
Teemu Suo-Anttila [Fri, 29 Dec 2017 08:04:40 +0000 (10:04 +0200)]
Remove workarounds from Spring integration test (#10430)

This patch makes the BOM use Spring 3.0.0.alpha1

6 years agoFix javadoc for Notification TYPE_TRAY_NOTIFICATION (#10479)
Marco Collovati [Fri, 29 Dec 2017 07:16:18 +0000 (08:16 +0100)]
Fix javadoc for Notification TYPE_TRAY_NOTIFICATION (#10479)

Fixes #10434

6 years agoAllow setting custom styles to DateField calendar date cells (#10305)
Anna Koskinen [Thu, 28 Dec 2017 11:49:39 +0000 (13:49 +0200)]
Allow setting custom styles to DateField calendar date cells (#10305)

Fixes #10304

6 years agoAdd css class to selected items in CheckboxGroup and RadiobuttonGroup (#10394)
Marco Collovati [Thu, 28 Dec 2017 09:54:17 +0000 (10:54 +0100)]
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

6 years agoMake Binder.setReadonly ignore effectively readonly bindings (#10368)
Marco Collovati [Thu, 28 Dec 2017 08:04:50 +0000 (09:04 +0100)]
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

6 years agoDo not create DOM elements for initially hidden columns (#10465)
Artur [Thu, 28 Dec 2017 07:58:19 +0000 (09:58 +0200)]
Do not create DOM elements for initially hidden columns (#10465)

6 years agoChange the order of inheritance to preserve user.agent property (#10470)
Adam Wagner [Wed, 27 Dec 2017 11:29:28 +0000 (13:29 +0200)]
Change the order of inheritance to preserve user.agent property (#10470)

6 years agoUpdate Grid.addColumn JavaDoc to tell about nested properties (#10431)
Olli Tietäväinen [Wed, 27 Dec 2017 09:58:23 +0000 (11:58 +0200)]
Update Grid.addColumn JavaDoc to tell about nested properties (#10431)

6 years agoUse new validation screenshots (#10455)
Teemu Suo-Anttila [Wed, 20 Dec 2017 11:41:18 +0000 (13:41 +0200)]
Use new validation screenshots (#10455)

6 years agoForce correct Selenium version for Spring Boot test (#10421)
Teemu Suo-Anttila [Thu, 7 Dec 2017 14:49:13 +0000 (16:49 +0200)]
Force correct Selenium version for Spring Boot test (#10421)

6 years agoFix typo
David Steinkopff [Sun, 3 Dec 2017 13:31:44 +0000 (14:31 +0100)]
Fix typo

6 years agoClarify ContentMode javadocs (#10395)
Leif Åstrand [Fri, 1 Dec 2017 07:30:43 +0000 (09:30 +0200)]
Clarify ContentMode javadocs (#10395)

* Don't refer to Label
* Explicitly mention XSS risk with HTML

6 years agoEscape CDATA element (#10377)
Olli Tietäväinen [Wed, 29 Nov 2017 11:39:50 +0000 (13:39 +0200)]
Escape CDATA element (#10377)

6 years agoUpdate to TestBench 5.1.1 (#10391)
Guille [Wed, 29 Nov 2017 11:37:37 +0000 (13:37 +0200)]
Update to TestBench 5.1.1 (#10391)

6 years agoUpdate bean validation article to use FW8 APIs (#10387)
AMahdy AbdelAziz [Wed, 29 Nov 2017 11:36:26 +0000 (13:36 +0200)]
Update bean validation article to use FW8 APIs (#10387)

Suggested by [Jean-Christophe Gueriaud](https://vaadin.com/forum/#!/thread/16876180).

Closes #10386

6 years agoUpdate version number to 8.3-SNAPSHOT (#10390)
Guille [Wed, 29 Nov 2017 09:55:10 +0000 (11:55 +0200)]
Update version number to 8.3-SNAPSHOT (#10390)

6 years agoFix selection column size calculation without data (#10384)
Teemu Suo-Anttila [Wed, 29 Nov 2017 09:21:14 +0000 (11:21 +0200)]
Fix selection column size calculation without data (#10384)

6 years agoFix alpine docker image error (#10382)
jtomass [Wed, 29 Nov 2017 08:59:23 +0000 (10:59 +0200)]
Fix alpine docker image error (#10382)

6 years agoUpdate vaadin.version in embedding documentation (#10383)
Olli Tietäväinen [Tue, 28 Nov 2017 14:12:31 +0000 (16:12 +0200)]
Update vaadin.version in embedding documentation (#10383)

6 years agoFix styling of Window control buttons to show focus (#10285)
Anna Koskinen [Tue, 28 Nov 2017 11:34:00 +0000 (13:34 +0200)]
Fix styling of Window control buttons to show focus (#10285)

Fixes #8918

6 years agoPrevent killing UI if heartbeats are pending (#10371)
Teemu Suo-Anttila [Mon, 27 Nov 2017 11:15:56 +0000 (13:15 +0200)]
Prevent killing UI if heartbeats are pending (#10371)

Fixes #9663

7 years agoAdd missing JavaDocs and since tags (#10372)
Teemu Suo-Anttila [Fri, 24 Nov 2017 10:51:22 +0000 (12:51 +0200)]
Add missing JavaDocs and since tags (#10372)

7 years agoImprove commit message example in CONTRIBUTING.md (#10357)
Aleksi Hietanen [Thu, 23 Nov 2017 14:13:11 +0000 (16:13 +0200)]
Improve commit message example in CONTRIBUTING.md (#10357)

7 years agoFix issues from TestBench version upgrade (#10360)
Teemu Suo-Anttila [Thu, 23 Nov 2017 09:38:13 +0000 (11:38 +0200)]
Fix issues from TestBench version upgrade (#10360)

7 years agoUpdate to JSoup 1.11.2 (#10353)
Leif Åstrand [Thu, 23 Nov 2017 05:54:53 +0000 (07:54 +0200)]
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.

7 years agoDateField not to fire focus/blur event when going to sub-components (#10246)
Ahmed Ashour [Thu, 23 Nov 2017 05:54:27 +0000 (06:54 +0100)]
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

7 years agoFix AbstractIntegrationTest to use new TestBench API (#10358)
Anna Koskinen [Thu, 23 Nov 2017 05:51:20 +0000 (07:51 +0200)]
Fix AbstractIntegrationTest to use new TestBench API (#10358)

7 years agoFix RadioButtonGroupTest imports (#10354)
Teemu Suo-Anttila [Wed, 22 Nov 2017 13:57:10 +0000 (15:57 +0200)]
Fix RadioButtonGroupTest imports (#10354)

7 years agoUpdate datamodel-forms.asciidoc (#10350)
jcgueriaud [Wed, 22 Nov 2017 11:58:08 +0000 (12:58 +0100)]
Update datamodel-forms.asciidoc (#10350)

This patch fixes the BinderValidationStatusHandler example in the documentation.

7 years agoUpdate version number to 8.3-SNAPSHOT (#10348)
Teemu Suo-Anttila [Wed, 22 Nov 2017 10:58:21 +0000 (12:58 +0200)]
Update version number to 8.3-SNAPSHOT (#10348)

7 years agoFix missing v-disabled for RadioButtonGroup and CheckBoxGroup options (#10332)
Pekka Hyvönen [Wed, 22 Nov 2017 10:36:07 +0000 (12:36 +0200)]
Fix missing v-disabled for RadioButtonGroup and CheckBoxGroup options (#10332)

* Fix missing v-disabled for RadioButtonGroup
* Fix missing v-disabled for CheckBoxGroup

Resolves #9258

7 years agoTest for MenuBar's WAI-ARIA attributes (#3922) (#10349)
Ansku [Wed, 22 Nov 2017 08:29:42 +0000 (10:29 +0200)]
Test for MenuBar's WAI-ARIA attributes (#3922) (#10349)

7 years agoDisabled ComboBox should not open popup on pasting (Fixes #7898) (#10240)
Ahmed Ashour [Wed, 22 Nov 2017 07:31:56 +0000 (08:31 +0100)]
Disabled ComboBox should not open popup on pasting (Fixes #7898) (#10240)

7 years agoFix nested bean property name (#10271)
schaerl [Wed, 22 Nov 2017 05:26:57 +0000 (06:26 +0100)]
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

7 years agoImprove Binder JavaDocs and APIs (#10347)
Teemu Suo-Anttila [Tue, 21 Nov 2017 15:05:05 +0000 (17:05 +0200)]
Improve Binder JavaDocs and APIs (#10347)

This patch also adds ValueChangeEvent as a parameter to field value change method in Binder.

7 years agoCreate DescriptionGenerator in package com.vaadin.ui (#10346)
Aleksi Hietanen [Tue, 21 Nov 2017 15:03:25 +0000 (17:03 +0200)]
Create DescriptionGenerator in package com.vaadin.ui (#10346)

Deprecate com.vaadin.ui.components.grid.DescriptionGenerator
and subclass it from the new DescriptionGenerator.

7 years agoFix issues from API review for 8.2 (#10342)
Aleksi Hietanen [Tue, 21 Nov 2017 12:25:42 +0000 (14:25 +0200)]
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

7 years agoExtract AbstractBeanPropertyDefinition and PropertyFilterDefinition (#10344)
Aleksi Hietanen [Tue, 21 Nov 2017 12:24:10 +0000 (14:24 +0200)]
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.

7 years agoIssue3922disableditem (#10259)
Ansku [Tue, 21 Nov 2017 12:19:52 +0000 (14:19 +0200)]
Issue3922disableditem (#10259)

* Accessibility for MenuBar (#3922)
* TabIndex handling fix and an indexing tweak
* Make disabled MenuItems selectable for accessibility (#3922)

- It should be possible to navigate to a disabled MenuItem, even if
triggering the related command is disabled

* Refactor primary style name and aria attribute handling to own method

7 years agoFileResource to use bufferSize, and StreamResource to use getCacheTime() (#10247)
Ahmed Ashour [Tue, 21 Nov 2017 11:36:26 +0000 (12:36 +0100)]
FileResource to use bufferSize, and StreamResource to use getCacheTime() (#10247)

7 years agoRemove unused imports (#10330)
Ahmed Ashour [Tue, 21 Nov 2017 08:57:39 +0000 (09:57 +0100)]
Remove unused imports (#10330)

7 years agoUpdate testbench version (#10336)
Guille [Mon, 20 Nov 2017 08:19:40 +0000 (10:19 +0200)]
Update testbench version (#10336)

7 years agoAdd known PushStateNavigation issue to release notes (#10334)
Teemu Suo-Anttila [Fri, 17 Nov 2017 09:19:39 +0000 (11:19 +0200)]
Add known PushStateNavigation issue to release notes (#10334)

7 years agoRename GridDragger to GridRowDragger (#10333)
Pekka Hyvönen [Fri, 17 Nov 2017 08:46:14 +0000 (10:46 +0200)]
Rename GridDragger to GridRowDragger (#10333)

The old name GridDragger gave an impression that you're dragging the whole grid instead of rows.

7 years agoAdd documentation on GridDragger (#10328)
Pekka Hyvönen [Thu, 16 Nov 2017 12:05:12 +0000 (14:05 +0200)]
Add documentation on GridDragger (#10328)

This pathc also switches GridDragger to by default not allow drops on rows when the
grid has been sorted.

7 years agoRemove empty li element from release notes (#10326)
Teemu Suo-Anttila [Thu, 16 Nov 2017 05:56:40 +0000 (07:56 +0200)]
Remove empty li element from release notes (#10326)

7 years agoUpdate since tags in JavaDoc (#10325) 8.2.0.alpha3
Teemu Suo-Anttila [Wed, 15 Nov 2017 14:09:39 +0000 (16:09 +0200)]
Update since tags in JavaDoc (#10325)

7 years agoFix click listener in WidgetSet test (#10324)
Teemu Suo-Anttila [Wed, 15 Nov 2017 13:54:40 +0000 (15:54 +0200)]
Fix click listener in WidgetSet test (#10324)

7 years agoAdd helper for Grid row DnD (#10255)
Pekka Hyvönen [Wed, 15 Nov 2017 12:37:33 +0000 (14:37 +0200)]
Add helper for Grid row DnD (#10255)

* Added Griddragger.

* Refactored the GridDragger to match FW style

Unit tests, Test UI and documentation to come next.

* Change DropMode to BETWEEN and add Test UIs

* Simplify GridDragger API

* Fixes and unit tests for GridDragger

Fixed issues regarding drop index calculation when sourche and target grid is the same.
When the ListDataProvider is not internally using List, always drops to the end.
Updates the old data provider instead of creating a new one to preserve filters&sorting.

7 years agoAdd mention of Wildfly 11 support and a test for it (#10319)
Teemu Suo-Anttila [Wed, 15 Nov 2017 08:22:32 +0000 (10:22 +0200)]
Add mention of Wildfly 11 support and a test for it (#10319)

7 years agoUpdate CDI tutorial wiki link (#10322)
Olli Tietäväinen [Wed, 15 Nov 2017 08:21:40 +0000 (10:21 +0200)]
Update CDI tutorial wiki link (#10322)

7 years agoAdd new drop mode ON_GRID for GridDropTarget (#10296)
Pekka Hyvönen [Wed, 15 Nov 2017 07:56:27 +0000 (09:56 +0200)]
Add new drop mode ON_GRID for GridDropTarget (#10296)

* Add new drop mode ON_GRID for GridDropTarget

Also adds a way to not accept drops on rows when the user has sorted the grid.
This way the bad UX can be avoided for showing the drop indicator for the wrong place when the grid has been sorted.
This has not been made default behavior to GridDropTarget since it would change behavior compared to 8.1.
Instead if is triggerable via API in GridDropTarget.

* Refactor sorted grid drop logic to server side

* Block setDropMode calls

Blocking setDropMode set values if the grid has been sorted and drop on
sorted rows is not allowed. The value is used once the grid is not sorted
anymore or the drops are allowed on sorted rows.

7 years agoFix TreeGrid to use correct super constructor (#10291)
Jerome Meyer [Tue, 14 Nov 2017 14:26:57 +0000 (09:26 -0500)]
Fix TreeGrid to use correct super constructor (#10291)

Fixes #10195

7 years agoImprove nested property support for Binder (#9925)
Olli Tietäväinen [Tue, 14 Nov 2017 13:40:37 +0000 (15:40 +0200)]
Improve nested property support for Binder (#9925)

Fixes #9210

7 years ago Add API to read Binding value from bean (#10316)
Teemu Suo-Anttila [Mon, 13 Nov 2017 12:58:31 +0000 (13:58 +0100)]
 Add API to read Binding value from bean (#10316)

7 years agoSet no-store headers on UIDL messages
Leif Åstrand [Fri, 10 Nov 2017 15:11:03 +0000 (17:11 +0200)]
Set no-store headers on UIDL messages

UIDL might contain sensitive information that we should prevent from
being stored anywhere.

7 years agoset default ContentMode PREFORMATTED in parameterless TooltipInfo constructor, fixes...
Olli Tietäväinen [Fri, 10 Nov 2017 15:05:44 +0000 (17:05 +0200)]
set default ContentMode PREFORMATTED in parameterless TooltipInfo constructor, fixes undefined enum value access in VTooltip.setTooltipText

7 years agoFix setting custom tab index for TabSheet or Accordion (#9574) (#10278)
Ansku [Fri, 10 Nov 2017 14:50:27 +0000 (16:50 +0200)]
Fix setting custom tab index for TabSheet or Accordion (#9574) (#10278)

7 years agoAdd ContentMode for row and cell descriptions in Grid (#10282)
Teemu Suo-Anttila [Fri, 10 Nov 2017 14:46:57 +0000 (15:46 +0100)]
Add ContentMode for row and cell descriptions in Grid (#10282)

7 years agoUpdate README.md (#10302)
Olli Tietäväinen [Fri, 10 Nov 2017 13:59:13 +0000 (15:59 +0200)]
Update README.md (#10302)

7 years agoRelax mapper access in HierarchicalDataCommunicator
Ilia Motornyi [Fri, 10 Nov 2017 09:42:23 +0000 (11:42 +0200)]
Relax mapper access in HierarchicalDataCommunicator

Fixes #10292