Clone this repo:
  1. 5590a3e [maven-release-plugin] prepare for next development iteration by Oliver Lietz · 3 weeks ago master
  2. 3d7e87d [maven-release-plugin] prepare release org.apache.sling.scripting.thymeleaf-2.0.2 by Oliver Lietz · 3 weeks ago org.apache.sling.scripting.thymeleaf-2.0.2
  3. c6357d3 style by Oliver Lietz · 3 weeks ago
  4. 6875511 move initial content to directory initial-content by Oliver Lietz · 3 weeks ago
  5. 19537f7 SLING-8709 Make value map of current resource available in bindings as properties by Oliver Lietz · 4 weeks ago

Build Status Test Status Maven Central JavaDocs License scripting

Apache Sling Scripting Thymeleaf

This module is part of the Apache Sling project.

This module provides a scripting engine for Thymeleaf templates.

Features

Installation

For running Sling Scripting Thymeleaf with Sling Starter some dependencies need to be resolved. This can be achieved by installing the following bundles:

mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.thymeleaf/3.0.9.RELEASE_1
mvn:org.attoparser/attoparser/2.0.5.RELEASE
mvn:org.unbescape/unbescape/1.1.6.RELEASE
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ognl/3.2.1_1
mvn:org.javassist/javassist/3.23.1-GA

There is a feature for Karaf:

karaf@root()> feature:install sling-scripting-thymeleaf

Note: Sling Scripting Thymeleaf requires an implementation of OSGi Declarative Services 1.3 (e.g. Apache Felix Service Component Runtime 2.0.0 or greater)