repeatIntervalField.add(new Option("43200000", "12 hours"));
repeatIntervalField.add(new Option("86400000", "24 hours"));
repeatIntervalField.setValue("3600000");
fieldSet.add(repeatIntervalField);
Submit saveSubmit = new Submit("Save");
saveSubmit.setActionListener(new ActionListener(){
public boolean onAction(Control source) {
return onSaveClick();
}
});
form.add(saveSubmit);
Submit cancelSubmit = new Submit("Cancel");
cancelSubmit.setActionListener(new ActionListener(){
public boolean onAction(Control source) {
setRedirect(QuartzJobSchedulerPage.class);
return false;
}
});