Package pt.webdetails.cdf.dd.structure

Examples of pt.webdetails.cdf.dd.structure.DashboardStructure.savesettings()


          String msg = Messages.getString( "CdfTemplates.ERROR_003_SAVE_DASHBOARD_FIRST" );
          logger.warn( msg );
          JsonUtils.buildJsonResult( getResponse().getOutputStream(), false, msg );
          return;
        }
        dashboardStructure.savesettings( toHashMap( getRequestParameters() ) );

      } else {
        logger.error( "Unknown operation: " + operation );
      }
View Full Code Here


        // check if user is attempting to save settings over a new (non yet saved) dashboard/widget/template
        if( StringUtils.isEmpty( file ) || file.equals( UNSAVED_FILE_PATH ) ) {
          logger.warn( getMessage( "CdfTemplates.ERROR_003_SAVE_DASHBOARD_FIRST" ) );
          return JsonUtils.getJsonResult( false, getMessage( "CdfTemplates.ERROR_003_SAVE_DASHBOARD_FIRST" ) );
        }
        dashboardStructure.savesettings( params );
      } else {
        logger.error( "Unknown operation: " + operation );
      }
      return JsonUtils.getJsonResult( true, result );
    } catch ( Exception e ) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.