Package nz.net.ultraq.thymeleaf

Examples of nz.net.ultraq.thymeleaf.LayoutDialect


  @ConditionalOnClass(name = "nz.net.ultraq.thymeleaf.LayoutDialect")
  protected static class ThymeleafWebLayoutConfiguration {

    @Bean
    public LayoutDialect layoutDialect() {
      return new LayoutDialect();
    }
View Full Code Here


  @Bean
  public SpringTemplateEngine templateEngine(TemplateResolver templateResolver) {
    SpringTemplateEngine templateEngine = new SpringTemplateEngine();
    templateEngine.setTemplateResolver(templateResolver);
    templateEngine.addDialect(new SpringSocialDialect());
    templateEngine.addDialect(new LayoutDialect());
    return templateEngine;
  }
View Full Code Here

  @Bean
  public SpringTemplateEngine templateEngine(TemplateResolver templateResolver) {
    SpringTemplateEngine templateEngine = new SpringTemplateEngine();
    templateEngine.setTemplateResolver(templateResolver);
    templateEngine.addDialect(new SpringSocialDialect());
    templateEngine.addDialect(new LayoutDialect());
    return templateEngine;
  }
View Full Code Here

    @Bean
    public SpringTemplateEngine templateEngine() {
        SpringTemplateEngine templateEngine = new SpringTemplateEngine();
        templateEngine.setTemplateResolver(templateResolver());
        templateEngine.addDialect(new LayoutDialect());
        templateEngine.addDialect(new SpringSecurityDialect());
        templateEngine.addDialect(new DataTablesDialect());
        templateEngine.addDialect(new DataAttributeDialect());
        return templateEngine;
    }
View Full Code Here

TOP

Related Classes of nz.net.ultraq.thymeleaf.LayoutDialect

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.