org.springframework.web.servlet.view.tiles2
Class TilesView
java.lang.Object
   org.springframework.context.support.ApplicationObjectSupport
org.springframework.context.support.ApplicationObjectSupport
       org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
           org.springframework.web.servlet.view.AbstractView
org.springframework.web.servlet.view.AbstractView
               org.springframework.web.servlet.view.AbstractUrlBasedView
org.springframework.web.servlet.view.AbstractUrlBasedView
                   org.springframework.web.servlet.view.tiles2.TilesView
org.springframework.web.servlet.view.tiles2.TilesView
- All Implemented Interfaces: 
- BeanNameAware, InitializingBean, ApplicationContextAware, ServletContextAware, View
- public class TilesView 
- extends AbstractUrlBasedView
View implementation that retrieves a
 Tiles definition. The "url" property is interpreted as name of a Tiles definition.
 
This class builds on Tiles2, which requires JSP 2.0.
 JSTL support is integrated out of the box due to JSTL's inclusion in JSP 2.0.
 
Depends on a TilesContainer which must be available in
 the ServletContext. This container is typically set up via a
 TilesConfigurer bean definition in the application context.
- Since:
- 2.5
- Author:
- Juergen Hoeller
- See Also:
- AbstractUrlBasedView.setUrl(java.lang.String),- TilesConfigurer
 
 
 
 
 
 
| Methods inherited from class org.springframework.web.servlet.view.AbstractView | 
| addStaticAttribute, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setRequestContextAttribute, writeToResponse | 
 
 
 
 
TilesView
public TilesView()
renderMergedOutputModel
protected void renderMergedOutputModel(Map model,
                                       HttpServletRequest request,
                                       HttpServletResponse response)
                                throws Exception
- Description copied from class: AbstractView
- Subclasses must implement this method to actually render the view.
 The first step will be preparing the request: In the JSP case,
 this would mean setting model objects as request attributes.
 The second step will be the actual rendering of the view,
 for example including the JSP via a RequestDispatcher.
 
 
- 
- Specified by:
- renderMergedOutputModelin class- AbstractView
 
- 
- Parameters:
- model- combined output Map (never- null),
 with dynamic values taking precedence over static attributes
- request- current HTTP request
- response- current HTTP response
- Throws:
- Exception- if rendering failed
 
Copyright © 2002-2008 The Spring Framework.