public class PortletMvcViewFactory extends AbstractMvcViewFactory
Constructor and Description |
---|
PortletMvcViewFactory(Expression viewId,
FlowViewResolver viewResolver,
ExpressionParser expressionParser,
ConversionService conversionService,
BinderConfiguration binderConfiguration,
org.springframework.validation.MessageCodesResolver messageCodesResolver)
Creates a new portlet-based MVC view factory.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractMvcView |
createMvcView(org.springframework.web.servlet.View view,
RequestContext context)
Abstract factory method subclasses should implement to return the concrete MVC view implementation.
|
getView, setEventIdParameterName, setFieldMarkerPrefix, setValidator
public PortletMvcViewFactory(Expression viewId, FlowViewResolver viewResolver, ExpressionParser expressionParser, ConversionService conversionService, BinderConfiguration binderConfiguration, org.springframework.validation.MessageCodesResolver messageCodesResolver)
viewId
- the id of the view as an expressionviewResolver
- the resolver to resolve the View implementationexpressionParser
- the expression parserconversionService
- the conversion servicebinderConfiguration
- the model binding configurationmessageCodesResolver
- protected AbstractMvcView createMvcView(org.springframework.web.servlet.View view, RequestContext context)
AbstractMvcViewFactory
createMvcView
in class AbstractMvcViewFactory
view
- the actual resolved view implementationcontext
- the current request context