Search in sources :

Example 1 with ButtonAjaxTemplateDirective

use of io.leopard.web.freemarker.template.ajax.ButtonAjaxTemplateDirective in project leopard by tanhaichao.

the class MyJettyView method getVariables.

@Override
public List<TemplateVariable> getVariables() {
    List<TemplateVariable> list = new ArrayList<TemplateVariable>();
    list.add(new TimeTemplateMethod());
    list.add(new BodyTemplateDirective());
    list.add(new ServerInfoTemplateDirective());
    list.add(new ReplaceParamTemplateMethod());
    list.add(new ButtonAjaxTemplateDirective());
    return list;
}
Also used : ButtonAjaxTemplateDirective(io.leopard.web.freemarker.template.ajax.ButtonAjaxTemplateDirective) ArrayList(java.util.ArrayList) TemplateVariable(io.leopard.web.freemarker.TemplateVariable) TimeTemplateMethod(io.leopard.web.freemarker.template.TimeTemplateMethod) BodyTemplateDirective(io.leopard.web.freemarker.template.BodyTemplateDirective) ReplaceParamTemplateMethod(io.leopard.web.freemarker.template.ReplaceParamTemplateMethod)

Aggregations

TemplateVariable (io.leopard.web.freemarker.TemplateVariable)1 BodyTemplateDirective (io.leopard.web.freemarker.template.BodyTemplateDirective)1 ReplaceParamTemplateMethod (io.leopard.web.freemarker.template.ReplaceParamTemplateMethod)1 TimeTemplateMethod (io.leopard.web.freemarker.template.TimeTemplateMethod)1 ButtonAjaxTemplateDirective (io.leopard.web.freemarker.template.ajax.ButtonAjaxTemplateDirective)1 ArrayList (java.util.ArrayList)1