revised groups redirect URL
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/social-networking/social-util-library@128842 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c6c5b74564
commit
0690da580a
|
@ -268,10 +268,10 @@ public class Utils {
|
|||
long teamId = Long.parseLong(tagged.getId());
|
||||
try {
|
||||
GCubeTeam theTeam = new LiferayRoleManager().getTeam(teamId);
|
||||
//returns the VRE url e.g. /group/devVRE
|
||||
//returns the VRE url e.g. /devVRE
|
||||
String vreURL = new LiferayGroupManager().getGroup(theTeam.getGroupId()).getFriendlyURL();
|
||||
//append the members url
|
||||
pageToRedirectURL= vreURL + GCubePortalConstants.GROUP_MEMBERS_FRIENDLY_URL;
|
||||
pageToRedirectURL= GCubePortalConstants.PREFIX_GROUP_URL + vreURL + GCubePortalConstants.GROUP_MEMBERS_FRIENDLY_URL;
|
||||
httpGETAttrName = GCubeSocialNetworking.GROUP_MEMBERS_OID;
|
||||
httpGETAttrValue = tagged.getId();
|
||||
} catch (Exception e) {
|
||||
|
|
Loading…
Reference in New Issue