protected boolean processRequest() throws Exception {
Dashboard dashboard = DashboardHandler.lookup().getCurrentDashboard();
if (dashboard != null) {
String refresh = getRequest().getParameter(PARAM_REFRESH);
boolean isRefresh = toBoolean(refresh);
if (isRefresh) dashboard.refresh();
}
// Handle embedded mode.
String embedded = getRequest().getParameter(PARAM_EMBEDDED);
if (embedded == null) embedded = getRequest().getParameter(PARAM_EMBEDDED2);