summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorMarc Englund <marc@vaadin.com>2012-10-29 17:10:21 +0200
committerMarc Englund <marc@vaadin.com>2012-10-30 15:45:25 +0200
commit720ee8097614a9485d74dd0cc462d0c2d0297cec (patch)
tree80e12707afb4b8f347eb980397f2a5fd954f2428 /uitest
parent9e50aa521be1cc131becff5661b9b04a3c148f3d (diff)
downloadvaadin-framework-720ee8097614a9485d74dd0cc462d0c2d0297cec.tar.gz
vaadin-framework-720ee8097614a9485d74dd0cc462d0c2d0297cec.zip
Overlay container #9220
Change-Id: Iea5b44fc0c48ec1161890d9e084847266ce0d3d2
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/widgetset/client/minitutorials/v7a3/CapsLockWarningConnector.java1
-rw-r--r--uitest/src/com/vaadin/tests/widgetset/client/minitutorials/v7b1/CapsLockWarningWithRpcConnector.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/widgetset/client/minitutorials/v7a3/CapsLockWarningConnector.java b/uitest/src/com/vaadin/tests/widgetset/client/minitutorials/v7a3/CapsLockWarningConnector.java
index 7b1a56dc62..044c5a18f6 100644
--- a/uitest/src/com/vaadin/tests/widgetset/client/minitutorials/v7a3/CapsLockWarningConnector.java
+++ b/uitest/src/com/vaadin/tests/widgetset/client/minitutorials/v7a3/CapsLockWarningConnector.java
@@ -19,6 +19,7 @@ public class CapsLockWarningConnector extends AbstractExtensionConnector {
final Widget passwordWidget = ((ComponentConnector) target).getWidget();
final VOverlay warning = new VOverlay();
+ warning.setOwner(passwordWidget);
warning.add(new HTML("Caps Lock is enabled!"));
passwordWidget.addDomHandler(new KeyPressHandler() {
diff --git a/uitest/src/com/vaadin/tests/widgetset/client/minitutorials/v7b1/CapsLockWarningWithRpcConnector.java b/uitest/src/com/vaadin/tests/widgetset/client/minitutorials/v7b1/CapsLockWarningWithRpcConnector.java
index fdd14d40d5..b7dead9819 100644
--- a/uitest/src/com/vaadin/tests/widgetset/client/minitutorials/v7b1/CapsLockWarningWithRpcConnector.java
+++ b/uitest/src/com/vaadin/tests/widgetset/client/minitutorials/v7b1/CapsLockWarningWithRpcConnector.java
@@ -23,6 +23,7 @@ public class CapsLockWarningWithRpcConnector extends AbstractExtensionConnector
final Widget passwordWidget = ((ComponentConnector) target).getWidget();
final VOverlay warning = new VOverlay();
+ warning.setOwner(passwordWidget);
warning.add(new HTML("Caps Lock is enabled!"));
passwordWidget.addDomHandler(new KeyPressHandler() {