use of net.sourceforge.processdash.tool.probe.SizePerItemTable.ParseException in project processdash by dtuma.
the class EditSizePerItemTables method doPost.
protected void doPost() throws IOException {
DashController.checkIP(env.get("REMOTE_ADDR"));
parseFormData();
if (parameters.containsKey(SAVE) && Settings.isReadWrite()) {
try {
save(getParameter(NAME), getParameter(UNITS), getParameter(CONTENTS));
getDataRepository().putValue(CHANGE_DATA_NAME, new DoubleData(uniqueNumber));
} catch (ParseException e) {
writeHeader();
redrawForm(e);
return;
}
}
out.print("Location: " + SCRIPT + "?" + uniqueNumber + "\r\n\r\n");
uniqueNumber++;
}
Aggregations