O'Reilly logo

Liferay User Interface Development by Frank Yu, Xinsheng Chen, Jonas X. Yuan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Freemarker templates

In a previous section, you may have noticed a file called ${PLUGINS_SDK_HOME}/themes/store-theme/docroot/_diffs/templates/portal_normal.ftl. The file extension .ftl means that it is a FreeMarker template. This is a template made using FreeMarker. Liferay is considering FreeMarker as an option to Velocity for template generation.

This is an interesting trend for a Liferay fan to pay attention to.

The support of FreeMarker for themes in Liferay is new. The use of FreeMarker has not yet been thoroughly tested. However, some Liferay staff and developers are enthusiastic about FreeMarker.

What is FreeMarker really about?

FreeMarker is another template engine. It can be used to generate text output based on templates, just like Velocity. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required