Mail Archive Home | exoplatform List | June 2007 Index
create groups or membershiptype within a portlet
- Subject: create groups or membershiptype within a portlet
- From: jeremie garcia <jeremie.garcia@xxxxxxxxxxx>
- Date: Thu, 28 Jun 2007 16:52:20 +0200
hello
I am trying to manipulate the groups within a portlet that I've developped
with the following code, if the group geo doesn't exist it seems to be
created, but then it doesn't appear in the user/organisation portlet.
g = groupHandler.findGroupById("/geo");
if(g == null){
g = groupHandler.createGroupInstance();
g.setGroupName("geo");
g.setLabel("geo");
groupHandler.addChild(null, g, true);
}
I've seen something about groupEventListener, should I use it?
and how should I use it?
the problem is the same if I deal with MemberShipType..
thanks for your help.
jeremie
- create groups or membershiptype within a portlet,
jeremie garcia
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.