Author: bdaw
Date: 2010-09-15 05:34:18 -0400 (Wed, 15 Sep 2010)
New Revision: 4209
Modified:
portal/trunk/webui/eXo/src/main/java/org/exoplatform/webui/organization/MembershipListAccess.java
portal/trunk/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIUserMembershipSelector.java
Log:
GTNPORTAL-1479 Problem with object marshalling in clustered GateIn
Modified:
portal/trunk/webui/eXo/src/main/java/org/exoplatform/webui/organization/MembershipListAccess.java
===================================================================
---
portal/trunk/webui/eXo/src/main/java/org/exoplatform/webui/organization/MembershipListAccess.java 2010-09-15
06:37:50 UTC (rev 4208)
+++
portal/trunk/webui/eXo/src/main/java/org/exoplatform/webui/organization/MembershipListAccess.java 2010-09-15
09:34:18 UTC (rev 4209)
@@ -22,6 +22,7 @@
import org.exoplatform.commons.utils.ListAccess;
import org.exoplatform.webui.organization.UIUserMembershipSelector.Membership;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
@@ -31,7 +32,7 @@
* tamndrok(a)gmail.com
* May 16, 2009
*/
-public class MembershipListAccess implements ListAccess<Membership>
+public class MembershipListAccess implements ListAccess<Membership>, Serializable
{
private final List<Membership> list;
Modified:
portal/trunk/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIUserMembershipSelector.java
===================================================================
---
portal/trunk/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIUserMembershipSelector.java 2010-09-15
06:37:50 UTC (rev 4208)
+++
portal/trunk/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIUserMembershipSelector.java 2010-09-15
09:34:18 UTC (rev 4209)
@@ -20,6 +20,7 @@
package org.exoplatform.webui.organization;
import org.exoplatform.commons.utils.LazyPageList;
+import org.exoplatform.commons.utils.SerializablePageList;
import org.exoplatform.services.organization.Group;
import org.exoplatform.services.organization.GroupHandler;
import org.exoplatform.services.organization.MembershipType;
@@ -119,7 +120,9 @@
}
UIGrid uiGrid = getChild(UIGrid.class);
- LazyPageList pageList = new LazyPageList(new MembershipListAccess(getMembership()),
10);
+
+ SerializablePageList pageList = new SerializablePageList(new
MembershipListAccess(getMembership()), 10);
+
uiGrid.getUIPageIterator().setPageList(pageList);
}
Show replies by date