DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Creating an Expression Object Using Thymeleaf

4 years ago dzone.com

Summary: This is a summary of an article originally published by the source. Read the full original article here →

by In this tutorial, we will learn how to create an Expression object (similar to #string, #dates, #lists), using Thymeleaf.

This class implements an AbstractDialect and IExpressionObjectDialect and will be the definition of our dialect.

We created an object from our factory and in the builder, we passed the name of our dialect to thymeleaf.

First, we define our template to resolve and in the next method we add our dialect to the templateEngine of thymeleaf.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com