/** * Tiles2 views configuration. */ @Bean public TilesConfigurer tilesConfigurer() { TilesConfigurer tilesConfig = new TilesConfigurer(); tilesConfig.setDefinitions(new String[] { "/WEB-INF/kew-layouts/layouts.xml", "/WEB-INF/layouts/layouts.xml", "/WEB-INF/views/**/views.xml" }); tilesConfig.setCheckRefresh(true); return tilesConfig; }
@Bean public TilesConfigurer tilesConfigurer() { TilesConfigurer configurer = new TilesConfigurer(); configurer.setDefinitions(new String[] { "/WEB-INF/layouts/tiles.xml", "/WEB-INF/views/**/tiles.xml" }); configurer.setCheckRefresh(true); return configurer; }
/** * Configures Tiles at application startup. */ @Bean public TilesConfigurer tilesConfigurer() { TilesConfigurer configurer = new TilesConfigurer(); configurer.setDefinitions(new String[] { "/WEB-INF/layouts/tiles.xml", "/WEB-INF/views/**/tiles.xml" }); configurer.setCheckRefresh(true); return configurer; }
@Bean public TilesConfigurer tilesConfigurer() { ThymeleafTilesConfigurer configurer = new ThymeleafTilesConfigurer(); configurer.setDefinitions("/WEB-INF/tiles-defs.xml"); return configurer; }