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.

How to convert date in specific format in Freemarker template or javascript

From json, i am getting the value as "createdOn": "Jan 08 2015 20:40:56 GMT+0530 (IST)", I am Accessing in FTL <#list variables …

javascript date freemarker
Why would I use a templating engine? jsp include and jstl vs tiles, freemarker, velocity, sitemesh

I'm about to choose to way to organize my view (with spring-mvc, but that shouldn't matter much) There are 6 options …

java jsp velocity tiles freemarker
freemarker template for loop statement

I want to create for statement in freemarker template. I am reading howto http://freemarker.sourceforge.net/ but there is …

java freemarker
Freemarker parse a String as Json

Probably it's not possible, but I would like to transform a json string in a map with freemarker ex: <#…

freemarker
How to output ${expression} in Freemarker without it being interpreted?

I'm trying to use Freemarker in conjunction with jQuery Templates. Both frameworks use dollar sign/curly brackets to identify expressions …

el freemarker jquery-templates
How to get list items by index in freemarker template?

Is there a way to get list item by index in freemarker template, maybe something like this: <#assign i = 1&…

java templates freemarker template-engine
Checkbox values do not bind into object when false?

I used ModelAttribute to bind object in Spring web application. Once I notice that, in case an object has an …

java html spring spring-mvc freemarker
Expand a boolean variable to the string "true" or "false"

In a freemarker template I want to expand a boolean variable to a string like that: <#assign booleanVar = "test".…

freemarker
Freemarker vs. Velocity

I'm trying to decide between Freemarker and Velocity to use as a template engine, any advantages/disadvantages you see regarding …

java comparison velocity freemarker
List of String in Freemarker

I have a list of string in java code: List<String> keywords = new ArrayList<String>(); keywords.…

list freemarker