Registry / web-framework / thymeleaf-layout-dialect

thymeleaf-layout-dialect

JSON →
library4.0.1javamavenunverified

A dialect for Thymeleaf that allows you to use layout/decorator templates to style your content.

<dependency> <groupId>nz.net.ultraq.thymeleaf</groupId> <artifactId>thymeleaf-layout-dialect</artifactId> <version>4.0.1</version> </dependency>
INSTALL
IMPORT
SIG · THYMELEAF-LAYOUT-D
T
thymeleaf-layout-dialect
web-frameworkjavav4.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LayoutDialect
nz.net.ultraq.thymeleaf.layoutdialect.LayoutDialect

Adds layout dialect to Thymeleaf template engine.

import nz.net.ultraq.thymeleaf.layoutdialect.LayoutDialect; import org.thymeleaf.TemplateEngine; public class LayoutExample { public static void main(String[] args) { TemplateEngine engine = new TemplateEngine(); engine.addDialect(new LayoutDialect()); System.out.println("Layout dialect added"); } }
Debug
Known issues
breakingVersion 4.x requires Thymeleaf 3.1+; older versions need Thymeleaf 3.0.
fix
Ensure Thymeleaf version compatibility: use Thymeleaf 3.1+ for layout-dialect 4.x, or Thymeleaf 3.0 for older versions.
affects: >=4.0.0
Upgrade
Version history
4.0.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources
thymeleaf-layout-dialect — mvn dependency:get thymeleaf-layout-dialect · libregistry