The Spring Framework

Uses of Class
org.springframework.web.portlet.ModelAndView

Packages that use ModelAndView
org.springframework.web.portlet Provides JSR-168 portlets that integrate with the application context infrastructure, and the core interfaces and classes for the Portlet variant of Spring's web MVC framework. 
org.springframework.web.portlet.handler Provides standard HandlerMapping implementations, including abstract base classes for custom implementations. 
org.springframework.web.portlet.mvc Standard controller implementations for the portlet MVC framework that comes with Spring. 
 

Uses of ModelAndView in org.springframework.web.portlet
 

Methods in org.springframework.web.portlet that return ModelAndView
 ModelAndView ModelAndView.addAllObjects(Map modelMap)
          Add all entries contained in the provided map to the model.
 ModelAndView ModelAndView.addObject(Object modelObject)
          Add an object to the model using parameter name generation.
 ModelAndView ModelAndView.addObject(String modelName, Object modelObject)
          Add an object to the model.
 ModelAndView ModelAndViewDefiningException.getModelAndView()
          Return the ModelAndView that this exception contains for forwarding to.
 ModelAndView HandlerAdapter.handleRender(RenderRequest request, RenderResponse response, Object handler)
          Use the given handler to handle this render request.
protected  ModelAndView DispatcherPortlet.processHandlerException(RenderRequest request, RenderResponse response, Object handler, Exception ex)
          Determine an error ModelAndView via the registered HandlerExceptionResolvers.
 ModelAndView HandlerExceptionResolver.resolveException(RenderRequest request, RenderResponse response, Object handler, Exception ex)
          Try to resolve the given exception that got thrown during on handler execution, returning a ModelAndView that represents a specific error page if appropriate.
 

Methods in org.springframework.web.portlet with parameters of type ModelAndView
 void HandlerInterceptor.postHandleRender(RenderRequest request, RenderResponse response, Object handler, ModelAndView modelAndView)
          Intercept the execution of a handler in the render phase.
protected  void DispatcherPortlet.render(ModelAndView mv, RenderRequest request, RenderResponse response)
          Render the given ModelAndView.
 

Constructors in org.springframework.web.portlet with parameters of type ModelAndView
ModelAndViewDefiningException(ModelAndView modelAndView)
          Create new ModelAndViewDefiningException with the given ModelAndView, typically representing a specific error page.
 

Uses of ModelAndView in org.springframework.web.portlet.handler
 

Methods in org.springframework.web.portlet.handler that return ModelAndView
protected  ModelAndView SimpleMappingExceptionResolver.doResolveException(RenderRequest request, RenderResponse response, Object handler, Exception ex)
          Actually resolve the given exception that got thrown during on handler execution, returning a ModelAndView that represents a specific error page if appropriate.
protected  ModelAndView SimpleMappingExceptionResolver.getModelAndView(String viewName, Exception ex)
          Return a ModelAndView for the given view name and exception.
protected  ModelAndView SimpleMappingExceptionResolver.getModelAndView(String viewName, Exception ex, RenderRequest request)
          Return a ModelAndView for the given request, view name and exception.
 ModelAndView SimplePortletHandlerAdapter.handleRender(RenderRequest request, RenderResponse response, Object handler)
           
 ModelAndView SimpleMappingExceptionResolver.resolveException(RenderRequest request, RenderResponse response, Object handler, Exception ex)
          Checks whether this resolver is supposed to apply (i.e. the handler matches in case of "mappedHandlers" having been specified), then delegates to the SimpleMappingExceptionResolver.doResolveException(javax.portlet.RenderRequest, javax.portlet.RenderResponse, java.lang.Object, java.lang.Exception) template method.
 

Methods in org.springframework.web.portlet.handler with parameters of type ModelAndView
 void WebRequestHandlerInterceptorAdapter.postHandleRender(RenderRequest request, RenderResponse response, Object handler, ModelAndView modelAndView)
           
 void HandlerInterceptorAdapter.postHandleRender(RenderRequest request, RenderResponse response, Object handler, ModelAndView modelAndView)
          This implementation is empty.
 

Uses of ModelAndView in org.springframework.web.portlet.mvc
 

Methods in org.springframework.web.portlet.mvc that return ModelAndView
 ModelAndView SimpleControllerHandlerAdapter.handleRender(RenderRequest request, RenderResponse response, Object handler)
           
protected abstract  ModelAndView AbstractCommandController.handleRender(RenderRequest request, RenderResponse response, Object command, BindException errors)
          Template method for render request handling, providing a populated and validated instance of the command class, and an Errors object containing binding and validation errors.
 ModelAndView PortletModeNameViewController.handleRenderRequest(RenderRequest request, RenderResponse response)
           
 ModelAndView Controller.handleRenderRequest(RenderRequest request, RenderResponse response)
          Process the render request and return a ModelAndView object which the DispatcherPortlet will render.
 ModelAndView AbstractController.handleRenderRequest(RenderRequest request, RenderResponse response)
           
protected  ModelAndView PortletWrappingController.handleRenderRequestInternal(RenderRequest request, RenderResponse response)
           
protected  ModelAndView ParameterizableViewController.handleRenderRequestInternal(RenderRequest request, RenderResponse response)
          Return a ModelAndView object with the specified view name.
protected  ModelAndView AbstractFormController.handleRenderRequestInternal(RenderRequest request, RenderResponse response)
          Handles render phase of two cases: form submissions and showing a new form.
protected  ModelAndView AbstractController.handleRenderRequestInternal(RenderRequest request, RenderResponse response)
          Subclasses are meant to override this method if the controller is expected to handle render requests.
protected  ModelAndView AbstractCommandController.handleRenderRequestInternal(RenderRequest request, RenderResponse response)
           
protected  ModelAndView SimpleFormController.onSubmitRender(Object command)
          Simplest onSubmitRender version.
protected  ModelAndView SimpleFormController.onSubmitRender(Object command, BindException errors)
          Simpler onSubmitRender version.
protected  ModelAndView SimpleFormController.onSubmitRender(RenderRequest request, RenderResponse response, Object command, BindException errors)
          Submit render phase callback with all parameters.
protected  ModelAndView AbstractWizardFormController.renderCancel(RenderRequest request, RenderResponse response, Object command, BindException errors)
          Template method for the render phase of the cancel action of this wizard.
protected  ModelAndView AbstractWizardFormController.renderFinish(RenderRequest request, RenderResponse response, Object command, BindException errors)
          Template method for the render phase of the finish action of this wizard.
protected  ModelAndView SimpleFormController.renderFormSubmission(RenderRequest request, RenderResponse response, Object command, BindException errors)
          This implementation calls showForm in case of errors, and delegates to onSubmitRender's full version else.
protected  ModelAndView AbstractWizardFormController.renderFormSubmission(RenderRequest request, RenderResponse response, Object command, BindException errors)
          Apply wizard workflow: finish, cancel, page change.
protected abstract  ModelAndView AbstractFormController.renderFormSubmission(RenderRequest request, RenderResponse response, Object command, BindException errors)
          Process render phase of form submission request.
protected  ModelAndView AbstractWizardFormController.renderInvalidSubmit(RenderRequest request, RenderResponse response)
          Handle an invalid submit request, e.g. when in session form mode but no form object was found in the session (like in case of an invalid resubmit by the browser).
protected  ModelAndView AbstractFormController.renderInvalidSubmit(RenderRequest request, RenderResponse response)
          Handle an invalid submit request, e.g. when in session form mode but no form object was found in the session (like in case of an invalid resubmit by the browser).
protected  ModelAndView AbstractFormController.showForm(RenderRequest request, BindException errors, String viewName)
          Prepare model and view for the given form, including reference and errors.
protected  ModelAndView AbstractFormController.showForm(RenderRequest request, BindException errors, String viewName, Map controlModel)
          Prepare model and view for the given form, including reference and errors, adding a controller-specific control model.
protected  ModelAndView SimpleFormController.showForm(RenderRequest request, RenderResponse response, BindException errors)
          This implementation shows the configured form view, delegating to the analogous showForm version with a controlModel argument.
protected  ModelAndView AbstractWizardFormController.showForm(RenderRequest request, RenderResponse response, BindException errors)
          Show the first page as form view.
protected abstract  ModelAndView AbstractFormController.showForm(RenderRequest request, RenderResponse response, BindException errors)
          Prepare the form model and view, including reference and error data.
protected  ModelAndView SimpleFormController.showForm(RenderRequest request, RenderResponse response, BindException errors, Map controlModel)
          This implementation shows the configured form view.
protected  ModelAndView AbstractFormController.showNewForm(RenderRequest request, RenderResponse response)
          Show a new form.
protected  ModelAndView AbstractWizardFormController.showPage(RenderRequest request, BindException errors, int page)
          Prepare the form model and view, including reference and error data, for the given page.
 


The Spring Framework

Copyright © 2002-2007 The Spring Framework.