FreeMarker Online Tester What is FreeMarker Online Tester It's a web page to quickly try template snippets, with some simple data-model. It's especially handy for learning the template language. For a deployed version of this tool you can visithttps://try.freemarker.apache.org/. ...
Apache FreeMarker Online Tester. Contribute to numo-mfg/freemarker-online-tester development by creating an account on GitHub.
To use the online tester, point your browser tohttps://try.freemarker.apache.org/ The image below shows the tester that displays in the browser. TheTemplatefield takes the Apache FreeMarker construct or expression you want to test. TheData modelfield provides various ...
FreeMarker与Jsp FreeMarker与jsp在视觉上相似度很高,掌握jsp的基本语法,很快就能掌握FreeMarker的语法,但是FreeMarker与jsp有几点显著的不同,特此说明一下。首先FreeMarker不绑定Servlet,网络/Web环境,所以它不需要像jsp那样转换成servlet,再编译执行,可以极大的提高效率。另外,相比于jsp,它拥有更简洁的语法。再有,它的职...
Source File: FreeMarkerServiceTest.java From freemarker-online-tester with Apache License 2.0 5 votes @Test public void testTemplateWithSyntaxError() { FreeMarkerServiceResponse serviceResponse = getService().executeTemplate(new ExecuteTemplateArgs() .templateSourceCode("test ${xx").dataModel(...
Source File: FreeMarkerServiceTest.java From freemarker-online-tester with Apache License 2.0 5 votes @Test public void testTemplateWithSyntaxError() { FreeMarkerServiceResponse serviceResponse = getService().executeTemplate(new ExecuteTemplateArgs() .templateSourceCode("test ${xx").dataModel(...
Apache FreeMarker Online Tester. Contribute to apache/freemarker-online-tester development by creating an account on GitHub.
Source File: FreeMarkerOnlineViewTest.java From freemarker-online-tester with Apache License 2.0 6 votes @Test public void testViewWhenAllOK() { FreeMarkerOnlineView view = new FreeMarkerOnlineView(); view.setTemplate(TEMPLATE); view.setDataModel(DATA_MODEL); String outputFormatStr = HTML...
Source File: FreeMarkerService.java From freemarker-online-tester with Apache License 2.0 5 votes private FreeMarkerService(Builder bulder) { maxOutputLength = bulder.getMaxOutputLength(); maxThreads = bulder.getMaxThreads(); maxQueueLength = bulder.getMaxQueueLength(); maxTemplateExecution...