diff options
author | Marc Englund <marc@vaadin.com> | 2012-10-29 17:10:21 +0200 |
---|---|---|
committer | Marc Englund <marc@vaadin.com> | 2012-10-30 15:45:25 +0200 |
commit | 720ee8097614a9485d74dd0cc462d0c2d0297cec (patch) | |
tree | 80e12707afb4b8f347eb980397f2a5fd954f2428 /uitest | |
parent | 9e50aa521be1cc131becff5661b9b04a3c148f3d (diff) | |
download | vaadin-framework-720ee8097614a9485d74dd0cc462d0c2d0297cec.tar.gz vaadin-framework-720ee8097614a9485d74dd0cc462d0c2d0297cec.zip |
Overlay container #9220
Change-Id: Iea5b44fc0c48ec1161890d9e084847266ce0d3d2
Diffstat (limited to 'uitest')
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() { |