]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes #192
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 13 Feb 2007 10:33:53 +0000 (10:33 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 13 Feb 2007 10:33:53 +0000 (10:33 +0000)
svn changeset:707/svn branch:toolkit

src/com/itmill/toolkit/terminal/web/AjaxApplicationManager.java

index d45e1e19ee9282ae3dc9a3f7ed95103e0a999fde..cc7f148f73b8dfd610c63a1b8eb6569207a4e90f 100644 (file)
@@ -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 {