* @param isAdmin if true, no field must be filled in at all, otherwise
* validation takes place
*/
public SelectionForm(String name, Translator translator) {
super(name, translator);
lastUsageDuration = new IntegerElement("edit.parameter.form.lastusage.duration", RepositoryDeletionManager.getInstance().getLastUsageDuration());
addFormElement("lastUsageDuration", lastUsageDuration);
emailDuration = new IntegerElement("edit.parameter.form.email.duration", RepositoryDeletionManager.getInstance().getDeleteEmailDuration());
addFormElement("emailDuration", emailDuration);
addSubmitKey("edit.parameter.form.submit", "submit");
setCancelButton();
}