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:
Jan Vonka
2007-11-16 18:50:07 +00:00
parent 3a2a6c999f
commit ca59c8b248
33 changed files with 1340 additions and 176 deletions

View File

@@ -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;
}