Author: chris.laprun(a)jboss.com
Date: 2010-09-14 17:54:15 -0400 (Tue, 14 Sep 2010)
New Revision: 4198
Modified:
portal/branches/wsrp2-integration/component/wsrp/src/main/java/org/gatein/portal/wsrp/MOPPortalStructureProvider.java
portal/branches/wsrp2-integration/pom.xml
Log:
- Save session after assigning a new customization to a window in an attempt to make sure
the new state is properly recorded. Doesn't seem to work. Mostly synchronization
commit, actually.
- Use PC 2.2.0-Beta02-SNAPSHOT.
Modified:
portal/branches/wsrp2-integration/component/wsrp/src/main/java/org/gatein/portal/wsrp/MOPPortalStructureProvider.java
===================================================================
---
portal/branches/wsrp2-integration/component/wsrp/src/main/java/org/gatein/portal/wsrp/MOPPortalStructureProvider.java 2010-09-14
21:52:06 UTC (rev 4197)
+++
portal/branches/wsrp2-integration/component/wsrp/src/main/java/org/gatein/portal/wsrp/MOPPortalStructureProvider.java 2010-09-14
21:54:15 UTC (rev 4198)
@@ -147,7 +147,8 @@
String uuid = windowIdToUUIDs.get(windowId);
ParameterValidation.throwIllegalArgExceptionIfNull(uuid, "UUID for " +
windowId);
- UIWindow window = pomManager.getSession().findObjectById(ObjectType.WINDOW, uuid);
+ POMSession session = pomManager.getSession();
+ UIWindow window = session.findObjectById(ObjectType.WINDOW, uuid);
WSRP wsrp = new WSRP();
String portletId = portletContext.getId();
wsrp.setPortletId(portletId);
@@ -170,6 +171,7 @@
// and re-customize
window.customize(WSRP.CONTENT_TYPE, portletId, wsrp);
+ session.close(true);
}
private static class PageInfo
Modified: portal/branches/wsrp2-integration/pom.xml
===================================================================
--- portal/branches/wsrp2-integration/pom.xml 2010-09-14 21:52:06 UTC (rev 4197)
+++ portal/branches/wsrp2-integration/pom.xml 2010-09-14 21:54:15 UTC (rev 4198)
@@ -46,7 +46,7 @@
<nl.captcha.simplecaptcha.version>1.1.1-GA-Patch01</nl.captcha.simplecaptcha.version>
<org.gatein.common.version>2.0.3-GA</org.gatein.common.version>
<org.gatein.wci.version>2.0.1-GA</org.gatein.wci.version>
- <org.gatein.pc.version>2.2.0-Beta01</org.gatein.pc.version>
+ <org.gatein.pc.version>2.2.0-Beta02-SNAPSHOT</org.gatein.pc.version>
<org.picketlink.idm>1.1.5.GA</org.picketlink.idm>
<org.gatein.wsrp.version>2.0.0-Alpha02-SNAPSHOT</org.gatein.wsrp.version>
<org.gatein.mop.version>1.0.3-GA</org.gatein.mop.version>
Show replies by date