Пример #1
0
  public TestComponentWizard(
      ComponentWizardDefinition def, String location, I18nMessageProvider messageProvider) {
    super(def, location);

    props = new TestComponentProperties("root").init();
    addForm(props.getForm(Form.MAIN));
  }
Пример #2
0
 @Override
 // FIXME TDKN-67 - remove this
 public Properties cancelFormValues(Properties properties, String formName) {
   Form form = properties.getForm(formName);
   if (form == null) {
     throw new IllegalArgumentException("Form: " + formName + " not found");
   }
   form.cancelValues();
   return properties;
 }
Пример #3
0
 @Override
 // FIXME TDKN-67 - remove this
 public Properties makeFormCancelable(Properties properties, String formName) {
   Form form = properties.getForm(formName);
   if (form == null) {
     throw new IllegalArgumentException("Form: " + formName + " not found");
   }
   form.setCancelable(true);
   return properties;
 }