Author: chris.laprun(a)jboss.com
Date: 2010-08-23 06:11:11 -0400 (Mon, 23 Aug 2010)
New Revision: 3887
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/handlers/NavigationalStateUpdatingHandler.java
Log:
- Minor.
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/handlers/NavigationalStateUpdatingHandler.java
===================================================================
---
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/handlers/NavigationalStateUpdatingHandler.java 2010-08-23
09:02:21 UTC (rev 3886)
+++
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/handlers/NavigationalStateUpdatingHandler.java 2010-08-23
10:11:11 UTC (rev 3887)
@@ -103,6 +103,7 @@
// check if the portlet was cloned
PortletContext portletContext = updateResponse.getPortletContext();
+ SessionHandler sessionHandler = consumer.getSessionHandler();
if (portletContext != null)
{
PortletContext originalContext = requestPrecursor.getPortletContext();
@@ -135,7 +136,7 @@
}
// update the session information associated with the portlet handle
-
consumer.getSessionHandler().updateSessionInfoFor(originalContext.getPortletHandle(),
handle, invocation);
+ sessionHandler.updateSessionInfoFor(originalContext.getPortletHandle(), handle,
invocation);
}
else
{
@@ -143,8 +144,7 @@
}
// update the session info, using either the original or cloned portlet context, as
appropriate
-
consumer.getSessionHandler().updateSessionIfNeeded(updateResponse.getSessionContext(),
invocation,
- portletContext.getPortletHandle());
+ sessionHandler.updateSessionIfNeeded(updateResponse.getSessionContext(),
invocation, portletContext.getPortletHandle());
return result;
}
}