mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. WCM UI
- Create Web Content action (HTML, plain text and XML forms !) now creates content in the current AVM store+folder - Edit inline content for HTML, plain text and XML forms . Applied web.xml error patch as suggested by Gav git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3873 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -140,6 +140,11 @@ public class AVMBrowseBean implements IContextListener
|
||||
this.nodeService = nodeService;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter used by the Inline Edit XML JSP
|
||||
*
|
||||
* @return The NodeService
|
||||
*/
|
||||
public NodeService getNodeService()
|
||||
{
|
||||
return this.nodeService;
|
||||
@@ -369,6 +374,29 @@ public class AVMBrowseBean implements IContextListener
|
||||
this.avmNode = new AVMNode(avmRef);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the internal AVM path to the current folder for browsing
|
||||
*/
|
||||
public String getCurrentPath()
|
||||
{
|
||||
if (this.currentPath == null)
|
||||
{
|
||||
this.currentPath = AVMConstants.buildAVMStoreRootPath(getSandbox());
|
||||
}
|
||||
return this.currentPath;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param path the internal AVM path to the current folder for browsing
|
||||
*/
|
||||
public void setCurrentPath(String path)
|
||||
{
|
||||
this.currentPath = path;
|
||||
|
||||
// update UI state ready for screen refresh
|
||||
UIContextService.getInstance(FacesContext.getCurrentInstance()).notifyBeans();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Breadcrumb location list
|
||||
*/
|
||||
@@ -542,29 +570,6 @@ public class AVMBrowseBean implements IContextListener
|
||||
// ------------------------------------------------------------------------------
|
||||
// Private helpers
|
||||
|
||||
/**
|
||||
* @return the internal AVM path to the current folder for browsing
|
||||
*/
|
||||
private String getCurrentPath()
|
||||
{
|
||||
if (this.currentPath == null)
|
||||
{
|
||||
this.currentPath = AVMConstants.buildAVMStoreRootPath(getSandbox());
|
||||
}
|
||||
return this.currentPath;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param path the internal AVM path to the current folder for browsing
|
||||
*/
|
||||
private void setCurrentPath(String path)
|
||||
{
|
||||
this.currentPath = path;
|
||||
|
||||
// update UI state ready for screen refresh
|
||||
UIContextService.getInstance(FacesContext.getCurrentInstance()).notifyBeans();
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the breadcrumb with the clicked Group location
|
||||
*/
|
||||
|
Reference in New Issue
Block a user