Browse Source

Make the current session available in session init listeners (#9946)

Change-Id: I49ec1ed22fb3cae4f2e7ea7e6d989f2157014499
tags/7.0.0.beta6
Leif Åstrand 11 years ago
parent
commit
2eec311cda
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      server/src/com/vaadin/server/VaadinService.java

+ 2
- 0
server/src/com/vaadin/server/VaadinService.java View File

@@ -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

Loading…
Cancel
Save