diff options
-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; } |