Kevin Roast
2007-01-30 15:52:35 +00:00
parent 7e13957e36
commit a6d4684034
9 changed files with 58 additions and 24 deletions

View File

@@ -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
*