nl.gx.webmanager.springmvc.view
Class WmMultiEditView

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.context.support.WebApplicationObjectSupport
          extended by org.springframework.web.servlet.view.AbstractView
              extended by nl.gx.webmanager.springmvc.view.WmMultiEditView
All Implemented Interfaces:
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
static java.lang.String WM_DYNAMIC_ATTRIBUTES_KEY
          Static key used internally to store the include object on the model
static java.lang.String WM_INCLUDE_OBJECT_KEY
          Static key used internally to store the include object on the model
static java.lang.String WM_ORIGINAL_VALUES_KEY
          Static key used internally to store the original values on the model
static java.lang.String WM_PAGE_CONTEXT_KEY
          Static key used internally to store the page context on the model
static java.lang.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
 
Constructor Summary
WmMultiEditView()
           
 
Method Summary
 java.lang.String getContentType()
           
 WmEditView getEditView(java.lang.String value)
           
 void putEditView(WmEditView view)
           
 void putEditViews(WmEditView[] views)
           
 void renderMergedOutputModel(java.util.Map model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.springframework.web.servlet.view.AbstractView
addStaticAttribute, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getRequestContextAttribute, getStaticAttributes, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setRequestContextAttribute, 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.web.servlet.View
render
 

Field Detail

WM_PAGE_CONTEXT_KEY

public static final java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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)

getEditView

public WmEditView getEditView(java.lang.String value)

getContentType

public java.lang.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(java.util.Map model,
                                    javax.servlet.http.HttpServletRequest request,
                                    javax.servlet.http.HttpServletResponse response)
                             throws java.lang.Exception
Specified by:
renderMergedOutputModel in class org.springframework.web.servlet.view.AbstractView
Throws:
java.lang.Exception


Copyright © 2007-2011 GX Software BV. All Rights Reserved.