Merge of all UI clustering changes originally applied to 2.2

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8292 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2008-02-15 14:59:11 +00:00
parent d20d8a7007
commit a450598ecb
281 changed files with 17771 additions and 15322 deletions

View File

@@ -65,7 +65,7 @@ public class EditContentWizard extends CreateContentWizard
this.nodeRef = node.getNodeRef();
try
{
formName = (String)nodeService.getProperty(nodeRef, WCMAppModel.PROP_PARENT_FORM_NAME); // getFormName() ...
formName = (String)getNodeService().getProperty(nodeRef, WCMAppModel.PROP_PARENT_FORM_NAME); // getFormName() ...
form = formsService.getForm(this.formName);
}
catch (FormNotFoundException fnfe)
@@ -74,9 +74,9 @@ public class EditContentWizard extends CreateContentWizard
throw new IllegalArgumentException(fnfe);
}
this.content = this.contentService.getReader(nodeRef, ContentModel.PROP_CONTENT).getContentString();
this.content = this.getContentService().getReader(nodeRef, ContentModel.PROP_CONTENT).getContentString();
this.fileName = (String)nodeService.getProperty(nodeRef, ContentModel.PROP_NAME); // getName() ...
this.fileName = (String)getNodeService().getProperty(nodeRef, ContentModel.PROP_NAME); // getName() ...
this.mimeType = MimetypeMap.MIMETYPE_XML;
}
@@ -89,7 +89,7 @@ public class EditContentWizard extends CreateContentWizard
@Override
protected void saveContent(File fileContent, String strContent) throws Exception
{
ContentWriter writer = contentService.getWriter(nodeRef, ContentModel.PROP_CONTENT, true);
ContentWriter writer = getContentService().getWriter(nodeRef, ContentModel.PROP_CONTENT, true);
writer.putContent(strContent);
}