summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2013-02-06 05:39:21 (EST)
committer Sven Rottstock2013-03-11 06:34:39 (EDT)
commitaf89554521bba51c827214b82d175e28e2b343ac (patch)
tree789a45a37de0c4718f32c9989e13f684371f58c2
parent66d4acb4badf48dacd0296a42dfe87af69b004e3 (diff)
downloadorg.eclipse.stardust.ui.web-af89554521bba51c827214b82d175e28e2b343ac.zip
org.eclipse.stardust.ui.web-af89554521bba51c827214b82d175e28e2b343ac.tar.gz
org.eclipse.stardust.ui.web-af89554521bba51c827214b82d175e28e2b343ac.tar.bz2
Jira-ID: CRNT-27828
Added trace.log statement to IppThemeProvider method git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@62797 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/common/spi/theme/impl/IppThemeProvider.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/common/spi/theme/impl/IppThemeProvider.java b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/common/spi/theme/impl/IppThemeProvider.java
index de3c4db..072d43d 100644
--- a/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/common/spi/theme/impl/IppThemeProvider.java
+++ b/views-common/src/main/java/org/eclipse/stardust/ui/web/viewscommon/common/spi/theme/impl/IppThemeProvider.java
@@ -116,6 +116,7 @@ public class IppThemeProvider implements ThemeProvider
*/
private Set<Theme> bootstrapPluginThemes()
{
+ trace.info("Inside Loading plugin skin folders");
Set<Theme> availablePluginThemes = new HashSet<Theme>();
pluginAvailableSkins = PortalPluginSkinResourceResolver.findPluginSkins(Constants.SKIN_FOLDER, null);
@@ -129,7 +130,11 @@ public class IppThemeProvider implements ThemeProvider
{
this.themeId = key;
}
+ // TODO - Added for test CRNT-27828 on JBoss, to change to trace.debug
+ trace.info("Selected Skin Id is " + this.themeId);
+ trace.info("Added " + fileName + " as plugin skin folders");
}
+
return availablePluginThemes;
}
@@ -203,8 +208,8 @@ public class IppThemeProvider implements ThemeProvider
if (fileName.toLowerCase().endsWith(".css") && !loginStyleSheet.equals(skinFile))
{
// path : a string concat of plugin-root (/plugin) + folderId +
- // skinFile(say camino.css) ex:
- // "/plugin/views-common/public/skins/red/camino.css"
+ // skinFile(say skin1.css) ex:
+ // "/plugin/views-common/public/skins/red/red.css"
String path = Constants.PLUGIN_ROOT_FOLDER_PATH + skinFolder + "/" + fileName;
pluginStyleSheets.add(path);
}