From a5d34f6c0dd86990af5d9207587273f688eaef77 Mon Sep 17 00:00:00 2001 From: Kevin Roast Date: Tue, 6 Jun 2006 14:51:29 +0000 Subject: [PATCH] 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 --- source/java/org/alfresco/web/bean/BrowseBean.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/java/org/alfresco/web/bean/BrowseBean.java b/source/java/org/alfresco/web/bean/BrowseBean.java index fa47921571..346689fca2 100644 --- a/source/java/org/alfresco/web/bean/BrowseBean.java +++ b/source/java/org/alfresco/web/bean/BrowseBean.java @@ -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);