mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -56,14 +56,14 @@ public class ApplyDocTemplateDialog extends BaseDialogBean
|
||||
// apply the templatable aspect if required
|
||||
if (getNode().hasAspect(ContentModel.ASPECT_TEMPLATABLE) == false)
|
||||
{
|
||||
this.nodeService.addAspect(getNode().getNodeRef(), ContentModel.ASPECT_TEMPLATABLE, null);
|
||||
this.getNodeService().addAspect(getNode().getNodeRef(), ContentModel.ASPECT_TEMPLATABLE, null);
|
||||
}
|
||||
|
||||
// get the selected template from the Template Picker
|
||||
NodeRef templateRef = new NodeRef(Repository.getStoreRef(), this.template);
|
||||
|
||||
// set the template NodeRef into the templatable aspect property
|
||||
this.nodeService.setProperty(getNode().getNodeRef(), ContentModel.PROP_TEMPLATE, templateRef);
|
||||
this.getNodeService().setProperty(getNode().getNodeRef(), ContentModel.PROP_TEMPLATE, templateRef);
|
||||
|
||||
// reset node details for next refresh of details page
|
||||
getNode().reset();
|
||||
|
Reference in New Issue
Block a user