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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]