org.sakaiproject.metaobj.utils.mvc.impl
Class TemplateJstlView

java.lang.Object
  extended byorg.springframework.context.support.ApplicationObjectSupport
      extended byorg.springframework.web.context.support.WebApplicationObjectSupport
          extended byorg.springframework.web.servlet.view.AbstractView
              extended byorg.springframework.web.servlet.view.AbstractUrlBasedView
                  extended byorg.springframework.web.servlet.view.InternalResourceView
                      extended byorg.springframework.web.servlet.view.JstlView
                          extended byorg.sakaiproject.metaobj.utils.mvc.impl.TemplateJstlView
All Implemented Interfaces:
ApplicationContextAware, BeanNameAware, InitializingBean, View

public class TemplateJstlView
extends JstlView

Created by IntelliJ IDEA. User: John Ellis Date: Apr 30, 2004 Time: 8:29:53 AM To change this template use File | Settings | File Templates.


Field Summary
 
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
TemplateJstlView()
           
 
Method Summary
protected  String addComponent(String menuTag, String menuName, HttpServletRequest request, Map defaultTemplateDef)
           
 String getBody()
           
 String getCommonModelControllerName()
           
 String getDefaultTemplateDefName()
           
 String getFooter()
           
 String getHeader()
           
 String getLeftMenu()
           
 String getRightMenu()
           
 String getTemplate()
           
 String getTitle()
           
 void render(Map model, HttpServletRequest request, HttpServletResponse response)
          Prepares the view given the specified model, merging it with static attributes and a RequestContext attribute, if necessary.
 void setBody(String body)
           
 void setCommonModelControllerName(String commonModelControllerName)
           
 void setDefaultTemplateDefName(String defaultTemplateDefName)
           
 void setFooter(String footer)
           
 void setHeader(String header)
           
 void setLeftMenu(String leftMenu)
           
 void setRightMenu(String rightMenu)
           
 void setTemplate(String template)
           
 void setTitle(String title)
           
 
Methods inherited from class org.springframework.web.servlet.view.JstlView
exposeHelpers, initApplicationContext
 
Methods inherited from class org.springframework.web.servlet.view.InternalResourceView
exposeModelAsRequestAttributes, prepareForRendering, renderMergedOutputModel, useInclude
 
Methods inherited from class org.springframework.web.servlet.view.AbstractUrlBasedView
afterPropertiesSet, getUrl, setUrl, toString
 
Methods inherited from class org.springframework.web.servlet.view.AbstractView
addStaticAttribute, createRequestContext, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setRequestContextAttribute
 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, isContextRequired
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemplateJstlView

public TemplateJstlView()
Method Detail

render

public void render(Map model,
                   HttpServletRequest request,
                   HttpServletResponse response)
            throws Exception
Prepares the view given the specified model, merging it with static attributes and a RequestContext attribute, if necessary. Delegates to renderMergedOutputModel for the actual rendering.

Throws:
Exception
See Also:
InternalResourceView.renderMergedOutputModel(java.util.Map, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)

addComponent

protected String addComponent(String menuTag,
                              String menuName,
                              HttpServletRequest request,
                              Map defaultTemplateDef)

getRightMenu

public String getRightMenu()

setRightMenu

public void setRightMenu(String rightMenu)

getLeftMenu

public String getLeftMenu()

setLeftMenu

public void setLeftMenu(String leftMenu)

getHeader

public String getHeader()

setHeader

public void setHeader(String header)

getFooter

public String getFooter()

setFooter

public void setFooter(String footer)

getBody

public String getBody()

setBody

public void setBody(String body)

getDefaultTemplateDefName

public String getDefaultTemplateDefName()

setDefaultTemplateDefName

public void setDefaultTemplateDefName(String defaultTemplateDefName)

getTemplate

public String getTemplate()

setTemplate

public void setTemplate(String template)

getCommonModelControllerName

public String getCommonModelControllerName()

setCommonModelControllerName

public void setCommonModelControllerName(String commonModelControllerName)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)