org.springframework.webflow.mvc.builder.MvcViewFactoryCreator Java Examples

The following examples show how to use org.springframework.webflow.mvc.builder.MvcViewFactoryCreator. 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: WebFlowConfig.java    From tutorial with MIT License 5 votes vote down vote up
@Bean
public ViewFactoryCreator mvcViewFactoryCreator() {
    MvcViewFactoryCreator factoryCreator = new MvcViewFactoryCreator();
    factoryCreator.setViewResolvers(Collections.singletonList(this.thymeleafViewResolver()));
    factoryCreator.setUseSpringBeanBinding(true);
    return factoryCreator;
}
 
Example #2
Source File: WebFlowConfig.java    From enhanced-pet-clinic with Apache License 2.0 5 votes vote down vote up
@Bean
public MvcViewFactoryCreator mvcViewFactoryCreator() {
	viewResolvers.add(this.webMvcConfig.ajaxThymeleafViewResolver());

	MvcViewFactoryCreator factoryCreator = new MvcViewFactoryCreator();
	factoryCreator.setViewResolvers(viewResolvers);
	factoryCreator.setUseSpringBeanBinding(true);
	return factoryCreator;
}
 
Example #3
Source File: WebFlowConfig.java    From tutorials with MIT License 5 votes vote down vote up
@Bean
public MvcViewFactoryCreator mvcViewFactoryCreator() {
    MvcViewFactoryCreator factoryCreator = new MvcViewFactoryCreator();
    factoryCreator.setViewResolvers(Collections.singletonList(this.webMvcConfig.viewResolver()));
    factoryCreator.setUseSpringBeanBinding(true);
    return factoryCreator;
}