ray blog
  • Home
  • linux
  • node
  • j2ee
  • docker
  • 软件设计
  • other

thymeleaf

A collection of 1 post

thymeleaf

thymeleaf 自定义标签&方言和处理器简介

1.概念 1.1 Dialects thymeleaf是一个容易扩展的库,大部分面向用户的功能不是直接构建在他的核心中,而是通过打包和组件化到一个称谓Dialect(方言)的功能集合中,同时可以自定义一组attribute或者tag在thymeleaf中用来处理自定义的模板。 Dialects是实现了org.thymeleaf.dialect.IDialect接口的对象,具体如下: public interface IDialect { public String getName(); } 基础的接口有: IProcessorDialect 处理器方言 public interface IProcessorDialect extends IDialect { public String getPrefix(

ray ray
ray blog © 2025
Latest Posts Ghost