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

The following examples show how to use org.springframework.webflow.mvc.builder.MvcViewFactoryCreator. These examples are extracted from open source projects. 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 Project: tutorial   Source File: WebFlowConfig.java    License: 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 Project: enhanced-pet-clinic   Source File: WebFlowConfig.java    License: 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 Project: tutorials   Source File: WebFlowConfig.java    License: 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;
}