This commit is contained in:
Looly
2023-04-24 12:40:34 +08:00
parent 59ae673ab5
commit 1516bd289c
12 changed files with 13 additions and 20 deletions

View File

@@ -32,7 +32,7 @@ public class ThymeleafTest {
public void addDialectTest(){
final TemplateEngine engine = TemplateEngineFactory.createEngine();
if(engine instanceof ThymeleafEngine){
final org.thymeleaf.TemplateEngine rawEngine = ((ThymeleafEngine) engine).getRawEngine();
final org.thymeleaf.TemplateEngine rawEngine = ((ThymeleafEngine) engine).getRaw();
rawEngine.addDialect(new StandardDialect());
}
}