Package org.molgenis.framework.ui

Examples of org.molgenis.framework.ui.FreemarkerView


  @Override
  public String render()
  {
    // use freemarker macros to render form header and footer
    FreemarkerView view = new FreemarkerView(MolgenisForm.class.getPackage().getName().replace(".", "/")
        + "/MolgenisForm.ftl", getModel());
    view.addParameter("content", layout.render());
    String result = view.render();
    return result;
  }
View Full Code Here


  }

  @Override
  public String render()
  {
    return new FreemarkerView("ScreenCommand.ftl", this).render();
  }
View Full Code Here

  {
    Map<String, Object> parameters = new TreeMap<String, Object>();
    parameters.put("input", this);

    // delegate to freemarker (sad Java doesn't allow multiline strings).
    return new FreemarkerView("org/molgenis/framework/ui/html/CodeInput.ftl", parameters).render();
  }
View Full Code Here

    final Map<String, Object> args = new HashMap<String, Object>();

    args.put("tableId", super.getId());
    args.put("url", tupleTableBuilder.getUrl());

    return new FreemarkerView(JQGridView.class, args).render();
  }
View Full Code Here

TOP

Related Classes of org.molgenis.framework.ui.FreemarkerView

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.