mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
. Edit Folder Properties dialog
. Edit file/folder properties now shows name+title+description as expected . Addition of TITLED and UIFACETS aspects to files and folders during import/create git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3987 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -125,10 +125,12 @@ public class CreateFolderDialog extends BaseDialogBean
|
||||
{
|
||||
String parent = this.avmBrowseBean.getCurrentPath();
|
||||
this.avmService.createDirectory(parent, this.name);
|
||||
|
||||
String path = parent + '/' + this.name;
|
||||
NodeRef nodeRef = AVMNodeConverter.ToNodeRef(-1, path);
|
||||
this.nodeService.addAspect(nodeRef, ContentModel.ASPECT_UIFACETS, null);
|
||||
if (this.description != null && this.description.length() != 0)
|
||||
{
|
||||
NodeRef nodeRef = AVMNodeConverter.ToNodeRef(-1, path);
|
||||
this.nodeService.setProperty(nodeRef, ContentModel.PROP_DESCRIPTION, this.description);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user