Top "Freemarker" questions

FreeMarker is a Java based template engine, a generic tool to generate text output (anything from HTML to autogenerated source code) based on templates.

Default escaping in Freemarker

In Freemarker templates we can use the escape directive to automatically apply an escaping to all interpolations inside the included …

java xss escaping freemarker
FreeMarker - Remove comma from milliseconds

Using FreeMarker, I want to display a date into milliseconds: ${mydate?long} but I get as output a comma separated …

java date freemarker
What are the main differences between StringTemplate and FreeMarker?

The net seems to be full of comparisons between Velocity and FreeMarker, and they seem to be reasonably equivalent. But …

java velocity freemarker stringtemplate
Replace new line character in freemarker

Is there any way to replace the new line character on free marker? I am trying this: <#assign str = …

html freemarker
does freemarker support show all variable in data-model?

I want to see all variables in freemarker data-model, just like struts2 debug tag to show value stack. Is there …

freemarker
Importing spring.ftl using Spring MVC, Sitemesh, Freemarker

How can I import the spring.ftl macros into a Freemarker template page using Spring MVC, Sitemesh, and Freemarker? I've …

spring-mvc freemarker sitemesh
freemarker functions vs macros

Hello freemarkers gurus I understand that the difference between freemarker functions and macros is that macros can print to the …

freemarker
Assigning free marker list to a Javascript Array

Is it possible to assign a freemarker list to a Javascript Array? Does any other technique exist to achieve the …

java javascript jquery freemarker
ClassNotFoundException FreeMarkerConfigurationFactory

I have a big web application that uses FreeMarker. When I recently updated to Spring 3.2.4 and ran the web app …

java spring spring-mvc jetty freemarker
What are different ways to handle error in FreeMarker template?

How to suppress FreeMarker template error? I am looking here: http://freemarker.sourceforge.net/docs/pgui_config_errorhandling.html But …

java struts2 freemarker