Package org.jmanage.webui.forms

Examples of org.jmanage.webui.forms.DashboardSelectionForm


                                 ActionForm actionForm,
                                 HttpServletRequest request,
                                 HttpServletResponse response)
            throws Exception {
        ApplicationConfig appConfig = context.getApplicationConfig();
        DashboardSelectionForm dbForm = (DashboardSelectionForm)actionForm;
        dbForm.setDashboards(appConfig.getDashboards().toArray(new String[]{}));
        Collection<DashboardConfig> qualifyingDashboards =
                instance.getQualifyingDashboards(appConfig);
        request.setAttribute(RequestAttributes.QUALIFYING_DASHBOARDS,
                qualifyingDashboards);
        return mapping.findForward(Forwards.SUCCESS);
View Full Code Here


                                 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);
View Full Code Here

TOP

Related Classes of org.jmanage.webui.forms.DashboardSelectionForm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.