Fixed bug found by Kev if app:icon property is missing from node

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4579 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2006-12-12 10:47:13 +00:00
parent b89434674c
commit d516ea58c3

View File

@@ -260,6 +260,11 @@ public class UITree extends UIComponentBase
this.nodeRef = nodeRef;
this.name = name;
this.icon = icon;
if (this.icon == null || this.icon.length() == 0)
{
this.icon = "space-icon-default";
}
}
public String getIcon()