diff options
author | Leif Åstrand <leif@vaadin.com> | 2013-08-30 08:19:58 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2013-08-30 08:19:58 +0300 |
commit | dce63d130d9fe54900b6da247d0219886e0cfd14 (patch) | |
tree | c1671f3b91aad18ab945b3a9d14b9b9483193526 /server/src | |
parent | bea7fa3430c6f90013e2c9178841120ff3097b1a (diff) | |
download | vaadin-framework-dce63d130d9fe54900b6da247d0219886e0cfd14.tar.gz vaadin-framework-dce63d130d9fe54900b6da247d0219886e0cfd14.zip |
Allow creating session for Portlet UI init request (#12473)
Change-Id: I4c62e246c026cec7c87c2bd5ee5435891f885882
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/com/vaadin/server/VaadinPortletService.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/com/vaadin/server/VaadinPortletService.java b/server/src/com/vaadin/server/VaadinPortletService.java index c7fc5a23bd..194c9c88a9 100644 --- a/server/src/com/vaadin/server/VaadinPortletService.java +++ b/server/src/com/vaadin/server/VaadinPortletService.java @@ -201,6 +201,10 @@ public class VaadinPortletService extends VaadinService { // been rendered, e.g. portlet on one page sends an event to a // portlet on another page and then moves the user to that page. return true; + } else if (PortletUIInitHandler.isUIInitRequest(request)) { + // In some cases, the RenderRequest seems to be cached, causing the + // first request be the one triggered by vaadinBootstrap.js. + return true; } return false; } |