none
This commit is contained in:
parent
aed9af164b
commit
7541e723a4
|
@ -149,9 +149,9 @@ public class StorageHubServiceUtil {
|
||||||
* @param request
|
* @param request
|
||||||
* @return the VRE Folders Id
|
* @return the VRE Folders Id
|
||||||
*/
|
*/
|
||||||
public static String getVREFoldersId(HttpServletRequest request) {
|
public static String getVREFoldersId(String groupId) {
|
||||||
String toReturn = "";
|
String toReturn = "";
|
||||||
String currentContext = PortalContext.getConfiguration().getCurrentScope(request);
|
String currentContext = PortalContext.getConfiguration().getCurrentScope(groupId);
|
||||||
_log.debug("getVREFoldersId, context="+currentContext);
|
_log.debug("getVREFoldersId, context="+currentContext);
|
||||||
ScopeProvider.instance.set(currentContext);
|
ScopeProvider.instance.set(currentContext);
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
<td>
|
<td>
|
||||||
<%pageContext.setAttribute("vreFoldersId", StorageHubServiceUtil.getVREFoldersId(request));%>
|
<%pageContext.setAttribute("vreFoldersId", StorageHubServiceUtil.getVREFoldersId(PortalUtil.getScopeGroupId(request)));%>
|
||||||
<c:if test="${not empty vreFoldersId}">
|
<c:if test="${not empty vreFoldersId}">
|
||||||
<div id="vreFoldersDiv" class="ws-recents">
|
<div id="vreFoldersDiv" class="ws-recents">
|
||||||
<a
|
<a
|
||||||
|
|
Loading…
Reference in New Issue