Index: main/plugin-explorer/resources/js/org/ametys/explorer/tree/ExplorerNodeXmlLoader.js =================================================================== --- main/plugin-explorer/resources/js/org/ametys/explorer/tree/ExplorerNodeXmlLoader.js (revision 15614) +++ main/plugin-explorer/resources/js/org/ametys/explorer/tree/ExplorerNodeXmlLoader.js (working copy) @@ -28,7 +28,7 @@ attr.leaf = true; } - attr.icon = getPluginResourcesUrl('explorer') + (attr.icon ? attr.icon : "/img/resources/icon_small.png"); + attr.icon = attr.icon ? context.contextPath + attr.icon : getPluginResourcesUrl('explorer') + "/img/resources/icon_small.png" } /** Index: main/plugin-explorer/resources/js/org/ametys/explorer/tree/ResourcesXmlLoader.js =================================================================== --- main/plugin-explorer/resources/js/org/ametys/explorer/tree/ResourcesXmlLoader.js (revision 15614) +++ main/plugin-explorer/resources/js/org/ametys/explorer/tree/ResourcesXmlLoader.js (working copy) @@ -74,7 +74,7 @@ else { attr.leafSort = false; // attribute for sorting - attr.icon = getPluginResourcesUrl('explorer') + attr.icon; + attr.icon = context.contextPath + attr.icon; return new Ext.tree.AsyncTreeNode(attr); } } Index: main/plugin-explorer/src/org/ametys/plugins/explorer/resources/jcr/JCRResourcesCollection.java =================================================================== --- main/plugin-explorer/src/org/ametys/plugins/explorer/resources/jcr/JCRResourcesCollection.java (revision 15614) +++ main/plugin-explorer/src/org/ametys/plugins/explorer/resources/jcr/JCRResourcesCollection.java (working copy) @@ -45,7 +45,7 @@ public String getIcon() { - return "/img/resources/icon_small.png"; + return "/plugins/explorer/resources/img/resources/icon_small.png"; } public String getApplicationId() Index: main/plugin-explorer/src/org/ametys/plugins/explorer/cmis/CMISResourcesCollection.java =================================================================== --- main/plugin-explorer/src/org/ametys/plugins/explorer/cmis/CMISResourcesCollection.java (revision 15614) +++ main/plugin-explorer/src/org/ametys/plugins/explorer/cmis/CMISResourcesCollection.java (working copy) @@ -66,7 +66,7 @@ @Override public String getIcon() { - return "/img/resources/icon_small.png"; + return "/plugins/explorer/resources/img/resources/icon_small.png"; } @Override Index: main/plugin-explorer/src/org/ametys/plugins/explorer/cmis/CMISRootResourcesCollection.java =================================================================== --- main/plugin-explorer/src/org/ametys/plugins/explorer/cmis/CMISRootResourcesCollection.java (revision 15614) +++ main/plugin-explorer/src/org/ametys/plugins/explorer/cmis/CMISRootResourcesCollection.java (working copy) @@ -203,20 +203,20 @@ Session session = getCMISSession(); if (session == null) { - return "/img/cmis/cmis_failed_16.png"; + return "/plugins/explorer/resources/img/cmis/cmis_failed_16.png"; } String productName = session.getRepositoryInfo().getProductName(); if (productName.toLowerCase().indexOf("alfresco") != -1) { - return "/img/cmis/alfresco_16.png"; + return "/plugins/explorer/resources/img/cmis/alfresco_16.png"; } else if (productName.toLowerCase().indexOf("nuxeo") != -1) { - return "/img/cmis/nuxeo_16.png"; + return "/plugins/explorer/resources/img/cmis/nuxeo_16.png"; } - return "/img/cmis/cmis_16.png"; + return "/plugins/explorer/resources/img/cmis/cmis_16.png"; } @Override