try {
StopWatch timer = new StopWatch();
Log timingLog = LogFactory.getLog("DASHBOARD-TIMING");
ResourceHubForm hubForm = (ResourceHubForm) form;
for (ResourceCategory category : ResourceCategory.values()) {
hubForm.addFunction(new LabelValueBean(category.name(), category.name()));
}
timingLog.trace("SearchHubPrepare - timing [" + timer.toString() + "]");
} catch (Exception e) {
if (log.isDebugEnabled()) {