for (String resource : resources) {
application.addResource(resource, bundleRL);
- if (log.isDebugEnabled())
- log.debug("Resource " + resource);
+ if (log.isTraceEnabled())
+ log.trace("Resource " + resource);
}
Map<String, String> defaultBranding = null;
log.debug("Theme " + themeId);
for (String css : cssLst) {
application.addStyleSheet(themeId, css, styleSheetRL);
- if (log.isDebugEnabled())
- log.debug(" CSS " + css);
+ if (log.isTraceEnabled())
+ log.trace(" CSS " + css);
}
}
this.resources = resources;
}
+ public void setContextName(String contextName) {
+ this.contextName = contextName;
+ }
+
class CmsExceptionHandler implements ExceptionHandler {
@Override
public void handleException(Throwable throwable) {
+ // TODO be smarter
CmsUtils.getCmsView().exception(throwable);
}