mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. Fixes for:
http://issues.alfresco.com/browse/WCM-218 http://issues.alfresco.com/browse/WCM-237 http://issues.alfresco.com/browse/AWC-991 http://issues.alfresco.com/browse/AWC-1078 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4969 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -40,6 +40,7 @@ import org.alfresco.web.app.servlet.TemplateContentServlet;
|
||||
import org.alfresco.web.bean.repository.Node;
|
||||
import org.alfresco.web.bean.repository.Repository;
|
||||
import org.alfresco.web.ui.common.Utils;
|
||||
import org.alfresco.web.ui.common.Utils.URLMode;
|
||||
import org.alfresco.web.ui.common.component.UIActionLink;
|
||||
|
||||
/**
|
||||
@@ -112,6 +113,16 @@ public class SpaceDetailsBean extends BaseDetailsBean
|
||||
return getNode();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the URL to access the browse page for the current node
|
||||
*
|
||||
* @return The bookmark URL
|
||||
*/
|
||||
public String getBrowseUrl()
|
||||
{
|
||||
return Utils.generateURL(FacesContext.getCurrentInstance(), getNode(), URLMode.BROWSE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolve the actual document Node from any Link object that may be proxying it
|
||||
*
|
||||
|
Reference in New Issue
Block a user