Package de.mhus.lib.form.builders

Examples of de.mhus.lib.form.builders.FormElementRegistry


   
  }

  @Override
  public MFormModel getConfigurationForm() throws FormException {
    FormElementRegistry registry = new FormElementRegistry();
    MFormModel model = new MFormModel(MSingleton.instance().getActivator(),this);
    ObjectList list = model.getList();
    for (String key : config.getPropertyKeys()) {
      log().t("key",key);
      try {
        IConfig elementConfig = config.getConfig("element_" + key);
        if (elementConfig != null) {
          log().t("accept fobject",key);
          FObject element = registry.createElement(model, elementConfig.getString("type", "input"), elementConfig);
          element.setName(key);
          element.setTitle(key);
          list.add(element);
        }
      } catch (Exception e) {
View Full Code Here

TOP

Related Classes of de.mhus.lib.form.builders.FormElementRegistry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.