HttpServletRequest request,
HttpServletResponse response)
throws Exception {
AccessController.checkAccess(context.getServiceContext(),ACL_ADD_DASHBOARD);
List<String> appConfigDashboards = new LinkedList<String>();
DashboardSelectionForm dbForm = (DashboardSelectionForm)actionForm;
ApplicationConfig appConfig = context.getApplicationConfig();
for(String dbID : dbForm.getDashboards()){
appConfigDashboards.add(dbID);
}
appConfig.setDashboards(appConfigDashboards);
ApplicationConfigManager.updateApplication(appConfig);
return mapping.findForward(Forwards.SUCCESS);