diff options
author | Artur Signell <artur@vaadin.com> | 2012-08-24 11:32:49 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-08-24 13:23:19 +0300 |
commit | 0b0ddb86876a965f68c6160fe7a499412b6c199d (patch) | |
tree | 636de4f5b01e38b4e7d460012438fe7a266e7596 /server/src/com/vaadin/ui/LoginForm.java | |
parent | ff0761f787f94a157d12af2a37e10e808d43fc59 (diff) | |
download | vaadin-framework-0b0ddb86876a965f68c6160fe7a499412b6c199d.tar.gz vaadin-framework-0b0ddb86876a965f68c6160fe7a499412b6c199d.zip |
Component.getRoot() -> Component.getUI() (#8908)
Diffstat (limited to 'server/src/com/vaadin/ui/LoginForm.java')
-rw-r--r-- | server/src/com/vaadin/ui/LoginForm.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/ui/LoginForm.java b/server/src/com/vaadin/ui/LoginForm.java index f127a2705b..1c154699d8 100644 --- a/server/src/com/vaadin/ui/LoginForm.java +++ b/server/src/com/vaadin/ui/LoginForm.java @@ -100,7 +100,7 @@ public class LoginForm extends CustomComponent { String requestPathInfo = request.getRequestPathInfo(); if ("/loginHandler".equals(requestPathInfo)) { // Ensure UI.getCurrent() works in listeners - UI.setCurrent(getRoot()); + UI.setCurrent(getUI()); response.setCacheTime(-1); response.setContentType("text/html; charset=utf-8"); |