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:
Massimiliano Assante 2016-05-25 21:17:02 +00:00
parent c6c5b74564
commit 0690da580a
1 changed files with 2 additions and 2 deletions

View File

@ -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) {