Author: mwringe
Date: 2010-01-19 17:47:47 -0500 (Tue, 19 Jan 2010)
New Revision: 1385
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletActionListener.java
Log:
Update the portlet's navigation state with the results from a processed event.
Modified:
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletActionListener.java
===================================================================
---
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletActionListener.java 2010-01-19
21:50:38 UTC (rev 1384)
+++
portal/trunk/webui/portal/src/main/java/org/exoplatform/portal/webui/application/UIPortletActionListener.java 2010-01-19
22:47:47 UTC (rev 1385)
@@ -511,6 +511,9 @@
// update the portlet with the next mode to display
PortletMode mode = new PortletMode(getPortletModeOrDefault(navResponse));
setNextMode(uiPortlet, mode);
+
+ uiPortlet.setNavigationalState(navResponse.getNavigationalState());
+ setupPublicRenderParams(uiPortlet,
navResponse.getPublicNavigationalStateUpdates());
//TODO: (mwringe) add this to the UpdateNavigationStateResponse.Event class
instead of here
class PortletEvent implements javax.portlet.Event
Show replies by date