Package org.apache.velocity.tools.generic

Examples of org.apache.velocity.tools.generic.ListTool


  @Override
  public void addVelocityTools(VelocityContext context) {
    context.put("date", new MyDateTool(getBusiness().getTimeZone()));
    context.put("esc", new MyEscTool());
    context.put("link", new LinkTool());
    context.put("list", new ListTool());
    context.put("number", new NumberTool());
    context.put("render", new RenderTool());
    context.put("sorter", new SortTool());
    context.put("math", new MathTool());
    context.put("alternator", new AlternatorTool());
View Full Code Here


          context.put("date", date);
          context.put("calendar", Calendar.getInstance());
          for (Define define : eogeneratorModel.getDefines()) {
            context.put(define.getName(), define.getValue());
          }
          context.put("list", new ListTool());
          context.put("set", new SetTool());
          //context.put("sorter", new SortTool());
          context.put("model", model);

          if (entitySet.size() != 0 && !entitySet.contains(entity.getName())) {
View Full Code Here

TOP

Related Classes of org.apache.velocity.tools.generic.ListTool

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.