org.springframework.web.servlet.view.tiles3.TilesViewResolver Java Examples

The following examples show how to use org.springframework.web.servlet.view.tiles3.TilesViewResolver. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ConfigurationForTiles.java    From spring-boot-web-mvc-tiles3 with Apache License 2.0 5 votes vote down vote up
/**
 * Introduce a Tiles view resolver, this is a convenience implementation that extends URLBasedViewResolver.
 * 
 * @return tiles view resolver
 */
@Bean
public TilesViewResolver tilesViewResolver() {
    final TilesViewResolver resolver = new TilesViewResolver();
    resolver.setViewClass(TilesView.class);
    return resolver;
}
 
Example #2
Source File: ViewResolverRegistry.java    From spring-analysis-note with MIT License 4 votes vote down vote up
public TilesRegistration() {
	super(new TilesViewResolver());
}
 
Example #3
Source File: ViewResolverRegistryTests.java    From spring-analysis-note with MIT License 4 votes vote down vote up
@Test
public void tiles() {
	this.registry.tiles();
	checkAndGetResolver(TilesViewResolver.class);
}
 
Example #4
Source File: WebConfig.java    From Project with Apache License 2.0 4 votes vote down vote up
@Bean
public ViewResolver viewResolver() {
  return new TilesViewResolver();
}
 
Example #5
Source File: ViewResolverRegistry.java    From java-technology-stack with MIT License 4 votes vote down vote up
public TilesRegistration() {
	super(new TilesViewResolver());
}
 
Example #6
Source File: ViewResolverRegistryTests.java    From java-technology-stack with MIT License 4 votes vote down vote up
@Test
public void tiles() {
	this.registry.tiles();
	checkAndGetResolver(TilesViewResolver.class);
}
 
Example #7
Source File: ViewResolverRegistry.java    From lams with GNU General Public License v2.0 4 votes vote down vote up
public TilesRegistration() {
	super(new TilesViewResolver());
}
 
Example #8
Source File: ViewResolverRegistry.java    From spring4-understanding with Apache License 2.0 4 votes vote down vote up
private TilesRegistration() {
	super(new TilesViewResolver());
}
 
Example #9
Source File: ViewResolverRegistryTests.java    From spring4-understanding with Apache License 2.0 4 votes vote down vote up
@Test
public void tiles() {
	this.registry.tiles();
	checkAndGetResolver(TilesViewResolver.class);
}
 
Example #10
Source File: ServletConfig.java    From market with MIT License 4 votes vote down vote up
@Bean
public ViewResolver viewResolver() {
	return new TilesViewResolver();
}
 
Example #11
Source File: TilesApplicationConfiguration.java    From tutorials with MIT License 4 votes vote down vote up
/**
 * Configure ViewResolvers to deliver views.
 */
@Override
public void configureViewResolvers(ViewResolverRegistry registry) {
    TilesViewResolver viewResolver = new TilesViewResolver();
    registry.viewResolver(viewResolver);
}