@Deprecated public class TilesJstlView extends TilesView
TilesView
for JSTL pages,
i.e. Tiles pages that use the JSP Standard Tag Library.
NOTE: This TilesJstlView class supports Tiles 1.x,
a.k.a. "Struts Tiles", which comes as part of Struts 1.x.
For Tiles 2.x support, check out
TilesView
.
Exposes JSTL-specific request attributes specifying locale and resource bundle for JSTL's formatting and message tags, using Spring's locale and message source.
This is a separate class mainly to avoid JSTL dependencies in TilesView itself.
JstlUtils.exposeLocalizationContext(javax.servlet.http.HttpServletRequest, org.springframework.context.MessageSource)
PATH_ATTRIBUTE
DEFAULT_CONTENT_TYPE
logger
PATH_VARIABLES, RESPONSE_STATUS_ATTRIBUTE, SELECTED_CONTENT_TYPE
Constructor and Description |
---|
TilesJstlView()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
exposeHelpers(HttpServletRequest request)
Deprecated.
Expose helpers unique to each rendering operation.
|
executeController, getComponentContext, getComponentDefinition, getController, getDispatcherPath, initApplicationContext, prepareForRendering, setPath
exposeForwardRequestAttributes, getRequestDispatcher, getRequestToExpose, initServletContext, isContextRequired, renderMergedOutputModel, setAlwaysInclude, setExposeContextBeansAsAttributes, setExposedContextBeanNames, setExposeForwardAttributes, setPreventDispatchLoop, useInclude
afterPropertiesSet, checkResource, getUrl, isUrlRequired, setUrl, toString
addStaticAttribute, createMergedOutputModel, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, isExposePathVariables, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setExposePathVariables, setRequestContextAttribute, setResponseContentType, writeToResponse
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, setServletContext
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext
protected void exposeHelpers(HttpServletRequest request) throws Exception
InternalResourceView
Called by InternalResourceView.renderMergedOutputModel(Map, HttpServletRequest, HttpServletResponse)
.
The default implementation is empty. This method can be overridden to add
custom helpers as request attributes.
exposeHelpers
in class InternalResourceView
request
- current HTTP requestException
- if there's a fatal error while we're adding attributesInternalResourceView.renderMergedOutputModel(java.util.Map<java.lang.String, java.lang.Object>, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
,
JstlView.exposeHelpers(javax.servlet.http.HttpServletRequest)