Today we released version 2.0.7 of DD4T for Java. This version includes support for the Thymeleaf view language. Thymeleaf is a fast-growing view framework for Java web applications, which can be used as an alternative for JSP. I recently blogged about it as well.
At the moment, the Thymeleaf support is limited to Experience Manager (XPM). You can – for example – enable Experience Manager on your page like this:
And to enable XPM for a component presentation:
More detailed instructions will follow in a later blog.
To use Thymeleaf support in your web app, add the following dependency to your pom:
<dependency> <groupId>org.dd4t</groupId> <artifactId>dd4t-thymeleaf-support</artifactId> <version>2.0.7</version> </dependency>
You can find the library on Maven Central: http://search.maven.org/#search%7Cga%7C1%7Cdd4t.