Author: thomas.heute(a)jboss.com
Date: 2010-09-17 10:42:13 -0400 (Fri, 17 Sep 2010)
New Revision: 4241
Modified:
epp/portal/branches/EPP_5_0_Branch/webui/eXo/src/main/java/org/exoplatform/webui/organization/MembershipListAccess.java
epp/portal/branches/EPP_5_0_Branch/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIUserMembershipSelector.java
Log:
JBEPP-448: Problem with object marshalling in clustered EPP
Modified:
epp/portal/branches/EPP_5_0_Branch/webui/eXo/src/main/java/org/exoplatform/webui/organization/MembershipListAccess.java
===================================================================
---
epp/portal/branches/EPP_5_0_Branch/webui/eXo/src/main/java/org/exoplatform/webui/organization/MembershipListAccess.java 2010-09-17
10:44:34 UTC (rev 4240)
+++
epp/portal/branches/EPP_5_0_Branch/webui/eXo/src/main/java/org/exoplatform/webui/organization/MembershipListAccess.java 2010-09-17
14:42:13 UTC (rev 4241)
@@ -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:
epp/portal/branches/EPP_5_0_Branch/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIUserMembershipSelector.java
===================================================================
---
epp/portal/branches/EPP_5_0_Branch/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIUserMembershipSelector.java 2010-09-17
10:44:34 UTC (rev 4240)
+++
epp/portal/branches/EPP_5_0_Branch/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIUserMembershipSelector.java 2010-09-17
14:42:13 UTC (rev 4241)
@@ -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