Author: thomas.heute(a)jboss.com
Date: 2007-03-27 09:08:36 -0400 (Tue, 27 Mar 2007)
New Revision: 6851
Modified:
trunk/core/src/main/org/jboss/portal/core/impl/model/content/generic/InternalGenericContentProvider.java
Log:
Was caching a bit too much
Modified:
trunk/core/src/main/org/jboss/portal/core/impl/model/content/generic/InternalGenericContentProvider.java
===================================================================
---
trunk/core/src/main/org/jboss/portal/core/impl/model/content/generic/InternalGenericContentProvider.java 2007-03-27
12:36:13 UTC (rev 6850)
+++
trunk/core/src/main/org/jboss/portal/core/impl/model/content/generic/InternalGenericContentProvider.java 2007-03-27
13:08:36 UTC (rev 6851)
@@ -166,7 +166,7 @@
// Initialize the navigational state with the URI when needed
PortletParametersStateString navigationalState =
(PortletParametersStateString)context.getAttribute(RenderWindowCommand.NAVIGATIONAL_STATE_SCOPE,
windowId);
- if (navigationalState == null)
+ if (navigationalState == null ||
!content.getURI().equals(navigationalState.getValue("uri")))
{
navigationalState = new PortletParametersStateString();
Show replies by date