@Bean
 // Inicializa a configura��o do tiles para a cria��o de templates
 public TilesConfigurer tilesConfigurer() {
   TilesConfigurer tilesConfigurer = new TilesConfigurer();
   tilesConfigurer.setDefinitions("/tiles/tiles-config.xml");
   return tilesConfigurer;
 }
Ejemplo n.º 2
0
 @Bean
 public TilesConfigurer tilesConfigurer() {
   TilesConfigurer t = new TilesConfigurer();
   t.setDefinitions(new String[] {"/WEB-INF/**/views.xml"});
   t.setPreparerFactoryClass(SpringBeanPreparerFactory.class);
   return t;
 }