mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
First-cut form-based XML editing in DM (WCM-303)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7399 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -499,7 +499,8 @@ public class AVMBrowseBean implements IContextListener
|
||||
{
|
||||
if (this.webapp == null)
|
||||
{
|
||||
this.webapp = this.getWebProject().getDefaultWebapp();
|
||||
// TODO - temporary, should only be called for WCM forms (not ECM forms)
|
||||
this.webapp = this.getWebProject() != null ? this.getWebProject().getDefaultWebapp() : null;
|
||||
}
|
||||
return this.webapp;
|
||||
}
|
||||
@@ -717,7 +718,12 @@ public class AVMBrowseBean implements IContextListener
|
||||
{
|
||||
if (this.currentPath == null)
|
||||
{
|
||||
this.currentPath = AVMUtil.buildStoreWebappPath(getSandbox(), getWebapp());
|
||||
// TODO - temporary, should only be called for WCM forms (not ECM forms)
|
||||
String webApp = getWebapp();
|
||||
if (webApp != null)
|
||||
{
|
||||
this.currentPath = AVMUtil.buildStoreWebappPath(getSandbox(), webApp);
|
||||
}
|
||||
}
|
||||
return this.currentPath;
|
||||
}
|
||||
|
Reference in New Issue
Block a user