OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | exoplatform List | June 2007 Index

<--  Date Index  --> <--  Thread Index  -->

create groups or membershiptype within a portlet


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






<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.