Author: mwringe
Date: 2010-04-27 12:37:20 -0400 (Tue, 27 Apr 2010)
New Revision: 2844
Modified:
portal/branches/EPP_5_0_Branch/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIGroupMembershipSelector.java
Log:
JBEPP-325: fix issue with not being able to select sub-level permissions. Patch taken from
GateIn revision 2805 (hoang_to).
Modified:
portal/branches/EPP_5_0_Branch/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIGroupMembershipSelector.java
===================================================================
---
portal/branches/EPP_5_0_Branch/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIGroupMembershipSelector.java 2010-04-27
15:43:40 UTC (rev 2843)
+++
portal/branches/EPP_5_0_Branch/webui/eXo/src/main/java/org/exoplatform/webui/organization/UIGroupMembershipSelector.java 2010-04-27
16:37:20 UTC (rev 2844)
@@ -110,10 +110,12 @@
public void processRender(WebuiRequestContext context) throws Exception
{
OrganizationService service = getApplicationComponent(OrganizationService.class);
- Collection<?> sibblingsGroup = service.getGroupHandler().findGroups(null);
UITree tree = getChild(UITree.class);
- if (tree != null)
+ if (tree != null && tree.getSibbling() == null)
+ {
+ Collection<?> sibblingsGroup =
service.getGroupHandler().findGroups(null);
tree.setSibbling((List)sibblingsGroup);
+ }
Collection<?> collection =
service.getMembershipTypeHandler().findMembershipTypes();
listMemberhip = new ArrayList<String>(5);
Show replies by date