public TestComponentWizard(
      ComponentWizardDefinition def, String location, I18nMessageProvider messageProvider) {
    super(def, location);

    props = new TestComponentProperties("root").init();
    addForm(props.getForm(Form.MAIN));
  }
Example #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;
 }
Example #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;
 }