Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)

78414: Merged EOL (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
      75784: ACE-2149: EOL AVM / WCM
       - Get 'web-client' project to compile
       - For further work, all bits that required commenting or changing were tagged with '// WCM'
         i.e. a search for 'WCM' will highlight all the code changes made
       - TODO: Visit jsp files and other config to do a proper job


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Erik Winlof
2014-09-03 12:08:20 +00:00
parent 5cf4251421
commit 34d911b025
35 changed files with 1176 additions and 3862 deletions

View File

@@ -35,7 +35,6 @@ import org.springframework.extensions.config.Config;
import org.springframework.extensions.config.ConfigElement;
import org.springframework.extensions.config.ConfigService;
import org.alfresco.model.ContentModel;
import org.alfresco.model.WCMAppModel;
import org.alfresco.repo.content.MimetypeMap;
import org.alfresco.service.cmr.model.FileExistsException;
import org.alfresco.service.namespace.QName;
@@ -114,15 +113,16 @@ public class CreateContentWizard extends BaseContentWizard
}
String result = super.finish();
if ((super.createdNode != null) && (this.instanceDataDocument != null))
{
final Map<QName, Serializable> props = new HashMap<QName, Serializable>(1, 1.0f);
props.put(WCMAppModel.PROP_PARENT_FORM_NAME, getFormName());
props.put(WCMAppModel.PROP_ORIGINAL_PARENT_PATH, "");
getNodeService().addAspect(super.createdNode, WCMAppModel.ASPECT_FORM_INSTANCE_DATA, props);
}
// // WCM
// if ((super.createdNode != null) && (this.instanceDataDocument != null))
// {
// final Map<QName, Serializable> props = new HashMap<QName, Serializable>(1, 1.0f);
// props.put(WCMAppModel.PROP_PARENT_FORM_NAME, getFormName());
// props.put(WCMAppModel.PROP_ORIGINAL_PARENT_PATH, "");
// getNodeService().addAspect(super.createdNode, WCMAppModel.ASPECT_FORM_INSTANCE_DATA, props);
// }
//
return result;
}