commit | eeb707e1bb0a66c8de700144802147697c3f1b1b | [log] [tgz] |
---|---|---|
author | Oliver Lietz <olli@apache.org> | Thu Jul 13 01:19:05 2023 +0200 |
committer | Oliver Lietz <olli@apache.org> | Thu Jul 13 01:19:42 2023 +0200 |
tree | 79c2d598f4d40aedef96581ea50c6f6e26a40579 | |
parent | a520d5d6cffd2a4a0d244870d8398e53a47d2cf8 [diff] |
build on Linux only
This module is part of the Apache Sling project.
This module provides a 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 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)