} else if ( OPERATION_SAVE_AS.equalsIgnoreCase( operation ) ) {
boolean isPreview = ( path.indexOf( "_tmp.cdfde" ) > -1 || path.indexOf( "_tmp.wcdf" ) > -1 );
dashboardStructure.saveAs( path, title, description, cdfStructure, isPreview );
} else if ( OPERATION_NEW_FILE.equalsIgnoreCase( operation ) ) {
dashboardStructure.newfile( toHashMap( getRequestParameters() ) );
} else if ( OPERATION_SAVE_SETTINGS.equalsIgnoreCase( operation ) ) {
// check if user is attempting to save settings over a new (non yet saved) dashboard/widget/template
String file = getRequestParameters().getStringParameter( "file", null );
if ( StringUtils.isEmpty( file ) || UNSAVED_FILE_PATH.equals( file ) ) {