diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-10-19 16:12:49 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-10-19 16:12:49 +0300 |
commit | 2eec311cda3bf14d131208a94f7444d2af7108ba (patch) | |
tree | 38296f123d26c75773a94a449a684c220b038204 | |
parent | 72a1641a0b153ec87ac5ce7710bce4b65a562b70 (diff) | |
download | vaadin-framework-2eec311cda3bf14d131208a94f7444d2af7108ba.tar.gz vaadin-framework-2eec311cda3bf14d131208a94f7444d2af7108ba.zip |
Make the current session available in session init listeners (#9946)
Change-Id: I49ec1ed22fb3cae4f2e7ea7e6d989f2157014499
-rw-r--r-- | server/src/com/vaadin/server/VaadinService.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/com/vaadin/server/VaadinService.java b/server/src/com/vaadin/server/VaadinService.java index 44e82b5898..05e79500bb 100644 --- a/server/src/com/vaadin/server/VaadinService.java +++ b/server/src/com/vaadin/server/VaadinService.java @@ -423,6 +423,8 @@ public abstract class VaadinService implements Serializable { throws ServiceException { VaadinServiceSession session = createVaadinSession(request); + VaadinServiceSession.setCurrent(session); + session.storeInSession(this, request.getWrappedSession()); // Initial locale comes from the request |