Class WmMultiEditView

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.View

    public class WmMultiEditView
    extends org.springframework.web.servlet.view.AbstractView
    implements org.springframework.web.servlet.View
    This class is actually a container of multiple JSP views
    Author:
    ivol
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String WM_DYNAMIC_ATTRIBUTES_KEY
      Static key used internally to store the include object on the model
      static String WM_INCLUDE_OBJECT_KEY
      Static key used internally to store the include object on the model
      static String WM_ORIGINAL_VALUES_KEY
      Static key used internally to store the original values on the model
      static String WM_PAGE_CONTEXT_KEY
      Static key used internally to store the page context on the model
      static String WM_PRESENTATION_NAME_KEY
      Static key used internally to store the presentation name on the model
      • Fields inherited from class org.springframework.web.servlet.view.AbstractView

        DEFAULT_CONTENT_TYPE
      • Fields inherited from class org.springframework.context.support.ApplicationObjectSupport

        logger
      • Fields inherited from interface org.springframework.web.servlet.View

        PATH_VARIABLES, RESPONSE_STATUS_ATTRIBUTE, SELECTED_CONTENT_TYPE
    • Constructor Summary

      Constructors 
      Constructor Description
      WmMultiEditView()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getContentType()  
      WmEditView getEditView​(String value)  
      void putEditView​(WmEditView view)  
      void putEditViews​(WmEditView[] views)  
      void renderMergedOutputModel​(Map model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      • Methods inherited from class org.springframework.web.servlet.view.AbstractView

        addStaticAttribute, createMergedOutputModel, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getRequestContextAttribute, getStaticAttributes, isExposePathVariables, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setExposePathVariables, setRequestContextAttribute, setResponseContentType, toString, writeToResponse
      • Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport

        getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
      • Methods inherited from class org.springframework.context.support.ApplicationObjectSupport

        getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext
      • Methods inherited from interface org.springframework.web.servlet.View

        render
    • Field Detail

      • WM_PAGE_CONTEXT_KEY

        public static final String WM_PAGE_CONTEXT_KEY
        Static key used internally to store the page context on the model
        See Also:
        Constant Field Values
      • WM_PRESENTATION_NAME_KEY

        public static final String WM_PRESENTATION_NAME_KEY
        Static key used internally to store the presentation name on the model
        See Also:
        Constant Field Values
      • WM_INCLUDE_OBJECT_KEY

        public static final String WM_INCLUDE_OBJECT_KEY
        Static key used internally to store the include object on the model
        See Also:
        Constant Field Values
      • WM_DYNAMIC_ATTRIBUTES_KEY

        public static final String WM_DYNAMIC_ATTRIBUTES_KEY
        Static key used internally to store the include object on the model
        See Also:
        Constant Field Values
      • WM_ORIGINAL_VALUES_KEY

        public static final String WM_ORIGINAL_VALUES_KEY
        Static key used internally to store the original values on the model
        See Also:
        Constant Field Values
    • Constructor Detail

      • WmMultiEditView

        public WmMultiEditView()
    • Method Detail

      • putEditView

        public void putEditView​(WmEditView view)
      • putEditViews

        public void putEditViews​(WmEditView[] views)
      • getContentType

        public String getContentType()
        Specified by:
        getContentType in interface org.springframework.web.servlet.View
        Overrides:
        getContentType in class org.springframework.web.servlet.view.AbstractView
      • renderMergedOutputModel

        public void renderMergedOutputModel​(Map model,
                                            javax.servlet.http.HttpServletRequest request,
                                            javax.servlet.http.HttpServletResponse response)
                                     throws Exception
        Specified by:
        renderMergedOutputModel in class org.springframework.web.servlet.view.AbstractView
        Throws:
        Exception