You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2017/10/26 13:30:01 UTC
[GitHub] gonzalad opened a new pull request #328: MBW for Spring Views
gonzalad opened a new pull request #328: MBW for Spring Views
URL: https://github.com/apache/cxf/pull/328
This SpringViewResolverProvider provides support for rendering spring views as text/html mediaTypes.
Sample usage:
```
@Bean
public SpringViewResolverProvider springViewProvider(ViewResolver viewResolver) {
SpringViewResolverProvider viewProvider = new SpringViewResolverProvider(viewResolver,
new AcceptHeaderLocaleResolver());
viewProvider.setUseClassNames(true);
viewProvider.setBeanName("model");
viewProvider.setResourcePaths(Collections.singletonMap("/remove", "registeredClients"));
return viewProvider;
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services