scripting engine for Thymeleaf templates
SlingResourceTemplateResolver
customizable through TemplateModeProvider
ResourceBundleMessageResolver
backed by ResourceBundleProvider
from Sling i18n customizable through optional AbsentMessageRepresentationProvider
PatternTemplateModeProvider
supporting Pattern
configurations for all template modes (HTML
, XML
, TEXT
, JAVASCRIPT
, CSS
and RAW
)SlingDialect
TemplateEngine
registered as OSGi Service (ITemplateEngine
) for direct useFor running Sling Scripting Thymeleaf with Sling's Launchpad some dependencies need to be resolved. This can be achieved by installing the following bundle:
mvn:org.javassist/javassist/3.20.0-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)