mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix to web-client performance issue in BrowseBean - approx 10% improvement for general browsing and searching page rendering
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3044 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -565,7 +565,7 @@ public class BrowseBean implements IContextListener
|
||||
this.dictionaryService.isSubClass(type, ContentModel.TYPE_SYSTEM_FOLDER) == false)
|
||||
{
|
||||
// create our Node representation
|
||||
node = new MapNode(nodeRef, this.nodeService, false);
|
||||
node = new MapNode(nodeRef, this.nodeService, true);
|
||||
node.addPropertyResolver("icon", this.resolverSpaceIcon);
|
||||
node.addPropertyResolver("smallIcon", this.resolverSmallIcon);
|
||||
|
||||
@@ -575,7 +575,7 @@ public class BrowseBean implements IContextListener
|
||||
else if (this.dictionaryService.isSubClass(type, ContentModel.TYPE_CONTENT))
|
||||
{
|
||||
// create our Node representation
|
||||
node = new MapNode(nodeRef, this.nodeService, false);
|
||||
node = new MapNode(nodeRef, this.nodeService, true);
|
||||
setupCommonBindingProperties(node);
|
||||
|
||||
this.contentNodes.add(node);
|
||||
@@ -584,7 +584,7 @@ public class BrowseBean implements IContextListener
|
||||
else if (ContentModel.TYPE_FILELINK.equals(type))
|
||||
{
|
||||
// create our File Link Node representation
|
||||
node = new MapNode(nodeRef, this.nodeService, false);
|
||||
node = new MapNode(nodeRef, this.nodeService, true);
|
||||
node.addPropertyResolver("url", this.resolverLinkUrl);
|
||||
node.addPropertyResolver("webdavUrl", this.resolverLinkWebdavUrl);
|
||||
node.addPropertyResolver("cifsPath", this.resolverLinkCifsPath);
|
||||
@@ -597,7 +597,7 @@ public class BrowseBean implements IContextListener
|
||||
else if (ContentModel.TYPE_FOLDERLINK.equals(type))
|
||||
{
|
||||
// create our Folder Link Node representation
|
||||
node = new MapNode(nodeRef, this.nodeService, false);
|
||||
node = new MapNode(nodeRef, this.nodeService, true);
|
||||
node.addPropertyResolver("icon", this.resolverSpaceIcon);
|
||||
node.addPropertyResolver("smallIcon", this.resolverSmallIcon);
|
||||
|
||||
|
Reference in New Issue
Block a user