protected void doEditForm(HttpServletRequest request,
HttpServletResponse response,
Runner runner)
throws ServletException, IOException
{
DeploymentEntry de = getEntry(request);
String button = request.getParameter("button");
if (button.equalsIgnoreCase("Save")) {
doEditSave(request, response, runner, de);
} else if (button.equalsIgnoreCase("Cancel")) {
redirectToRun(response);
} else if (button.equalsIgnoreCase("Restore Defaults")) {
de.setProperties(runner.getDefaultProperties());
doEdit(request, response, runner, de);
} else {
doEdit(request, response, runner, de);
}
}