You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2005/01/20 07:48:05 UTC
cvs commit: jakarta-jetspeed-2/portals-bridges/common/src/java/org/apache/portals/messaging PortletMessaging.java
taylor 2005/01/19 22:48:05
Modified: portals-bridges/common/src/java/org/apache/portals/messaging
PortletMessaging.java
Log:
typo bug, had wrong scope
Revision Changes Path
1.2 +3 -3 jakarta-jetspeed-2/portals-bridges/common/src/java/org/apache/portals/messaging/PortletMessaging.java
Index: PortletMessaging.java
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/portals-bridges/common/src/java/org/apache/portals/messaging/PortletMessaging.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- PortletMessaging.java 3 Dec 2004 04:30:16 -0000 1.1
+++ PortletMessaging.java 20 Jan 2005 06:48:05 -0000 1.2
@@ -91,7 +91,7 @@
String key = messageName;
Object object = request.getPortletSession().getAttribute(key, PortletSession.PORTLET_SCOPE);
// consume it
- request.getPortletSession().removeAttribute(key, PortletSession.APPLICATION_SCOPE);
+ request.getPortletSession().removeAttribute(key, PortletSession.PORTLET_SCOPE);
return object;
}
@@ -107,7 +107,7 @@
throws NotSerializableException
{
String key = messageName;
- request.getPortletSession().removeAttribute(key, PortletSession.APPLICATION_SCOPE);
+ request.getPortletSession().removeAttribute(key, PortletSession.PORTLET_SCOPE);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org