diff options
author | Fabian Lange <lange.fabian@gmail.com> | 2014-06-20 10:49:50 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-06-23 06:51:47 +0000 |
commit | 0c229ae91460fedaeb557bdc5a646433658b0dfb (patch) | |
tree | 4959adbc8ab29cc67515e44e2fc792d39ffba310 /server/src/com/vaadin/ui/PopupView.java | |
parent | 6e109e4d73b7e3c09da3000a813904b52ea89991 (diff) | |
download | vaadin-framework-0c229ae91460fedaeb557bdc5a646433658b0dfb.tar.gz vaadin-framework-0c229ae91460fedaeb557bdc5a646433658b0dfb.zip |
Reading properties of components should not set state to dirty (#14060).
Many core vaadin components did incorrectly mark the state as dirty when
reading from them. This patch fixes the problem, which should reduce the
amount of server->client state updates significantly.
Change-Id: I342d74129e2985a7f407e9b53a802dc0146d9992
Diffstat (limited to 'server/src/com/vaadin/ui/PopupView.java')
-rw-r--r-- | server/src/com/vaadin/ui/PopupView.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/PopupView.java b/server/src/com/vaadin/ui/PopupView.java index b347576b22..fc927cf90d 100644 --- a/server/src/com/vaadin/ui/PopupView.java +++ b/server/src/com/vaadin/ui/PopupView.java @@ -185,7 +185,7 @@ public class PopupView extends AbstractComponent implements HasComponents { * @return true if the popup is hidden on mouse out, false otherwise */ public boolean isHideOnMouseOut() { - return getState().hideOnMouseOut; + return getState(false).hideOnMouseOut; } /** @@ -234,6 +234,11 @@ public class PopupView extends AbstractComponent implements HasComponents { return (PopupViewState) super.getState(); } + @Override + protected PopupViewState getState(boolean markAsDirty) { + return (PopupViewState) super.getState(markAsDirty); + } + /** * Used to deliver customized content-packages to the PopupView. These are * dynamically loaded when they are redrawn. The user must take care that |