[portal-commits] JBoss Portal SVN: r13025 - branches/Enterprise_Portal_Platform_4_3/core/src/main/org/jboss/portal/core/controller/ajax.

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Fri Mar 13 08:51:40 EDT 2009


Author: thomas.heute at jboss.com
Date: 2009-03-13 08:51:40 -0400 (Fri, 13 Mar 2009)
New Revision: 13025

Modified:
   branches/Enterprise_Portal_Platform_4_3/core/src/main/org/jboss/portal/core/controller/ajax/AjaxResponseHandler.java
Log:
JBEPP-39: Page parameters updates are not reflected with partial refresh

Modified: branches/Enterprise_Portal_Platform_4_3/core/src/main/org/jboss/portal/core/controller/ajax/AjaxResponseHandler.java
===================================================================
--- branches/Enterprise_Portal_Platform_4_3/core/src/main/org/jboss/portal/core/controller/ajax/AjaxResponseHandler.java	2009-03-13 11:33:13 UTC (rev 13024)
+++ branches/Enterprise_Portal_Platform_4_3/core/src/main/org/jboss/portal/core/controller/ajax/AjaxResponseHandler.java	2009-03-13 12:51:40 UTC (rev 13025)
@@ -50,6 +50,7 @@
 import org.jboss.portal.core.model.portal.command.response.UpdateWindowResponse;
 import org.jboss.portal.core.model.portal.command.view.ViewPageCommand;
 import org.jboss.portal.core.model.portal.content.WindowRendition;
+import org.jboss.portal.core.model.portal.navstate.PageNavigationalState;
 import org.jboss.portal.core.model.portal.navstate.WindowNavigationalState;
 import org.jboss.portal.core.navstate.NavigationalStateChange;
 import org.jboss.portal.core.navstate.NavigationalStateContext;
@@ -229,7 +230,8 @@
             NavigationalStateKey key = update.getKey();
 
             // We consider only portal object types
-            if (key.getType() == WindowNavigationalState.class)
+            Class type = key.getType();
+            if (type == WindowNavigationalState.class)
             {
                // Get old window state
                WindowNavigationalState oldNS = (WindowNavigationalState)update.getOldValue();
@@ -257,6 +259,11 @@
                // Collect the dirty window id
                dirtyWindowIds.add(key.getId());
             }
+            else if (type == PageNavigationalState.class)
+            {
+               // force full refresh for now...
+               fullRefresh = true;
+            }
          }
          }
 




More information about the portal-commits mailing list