return returnEditRange(request, mapping, forwardParams);
} else if (controlForm.isRangeClicked()) {
Integer lastN = controlForm.getRn();
Integer unit = controlForm.getRu();
MetricRangePreferences rangePreferences = preferences.getMetricRangePreferences();
rangePreferences.lastN = lastN;
rangePreferences.unit = unit;
rangePreferences.readOnly = false;
preferences.setMetricRangePreferences(rangePreferences);
} else if (controlForm.isSimpleClicked()) {
MetricRangePreferences rangePreferences = preferences.getMetricRangePreferences();
rangePreferences.readOnly = false;
preferences.setMetricRangePreferences(rangePreferences);
}
// assume the return path has been set- don't use forwardParams