From: Matti Tahvonen Date: Tue, 13 Feb 2007 10:33:53 +0000 (+0000) Subject: fixes #192 X-Git-Tag: 6.7.0.beta1~6576 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1eefc91ba5669868ad668152e71521762bf26d6e;p=vaadin-framework.git fixes #192 svn changeset:707/svn branch:toolkit --- diff --git a/src/com/itmill/toolkit/terminal/web/AjaxApplicationManager.java b/src/com/itmill/toolkit/terminal/web/AjaxApplicationManager.java index d45e1e19ee..cc7f148f73 100644 --- a/src/com/itmill/toolkit/terminal/web/AjaxApplicationManager.java +++ b/src/com/itmill/toolkit/terminal/web/AjaxApplicationManager.java @@ -117,8 +117,10 @@ public class AjaxApplicationManager implements Paintable.RepaintRequestListener, public void handleUidlRequest(HttpServletRequest request, HttpServletResponse response) throws IOException { - boolean repaintAll = request.getParameter(GET_PARAM_REPAINT_ALL) != null; - + // repaint requested or sesssion has timed out and new one is created + boolean repaintAll = ( request.getParameter(GET_PARAM_REPAINT_ALL) != null ) + || request.getSession().isNew(); + OutputStream out = response.getOutputStream(); try {