|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.view.AbstractView
org.springframework.web.servlet.view.AbstractUrlBasedView
org.springframework.web.servlet.view.InternalResourceView
org.springframework.web.servlet.view.tiles.TilesView
org.springframework.web.servlet.view.tiles.TilesJstlView
Specialization of TilesView for JSTL pages, i.e. Tiles pages that use the JSP Standard Tag Library.
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)
Field Summary |
Fields inherited from class org.springframework.web.servlet.view.tiles.TilesView |
PATH_ATTRIBUTE |
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 | |
TilesJstlView()
|
Method Summary | |
protected void |
exposeModelAsRequestAttributes(java.util.Map model,
javax.servlet.http.HttpServletRequest request)
Expose the model objects in the given map as request attributes. |
Methods inherited from class org.springframework.web.servlet.view.tiles.TilesView |
executeController, getComponentContext, getComponentDefinition, getController, getDispatcherPath, initApplicationContext, prepareForRendering, setPath |
Methods inherited from class org.springframework.web.servlet.view.InternalResourceView |
renderMergedOutputModel |
Methods inherited from class org.springframework.web.servlet.view.AbstractUrlBasedView |
getUrl, setUrl |
Methods inherited from class org.springframework.web.servlet.view.AbstractView |
addStaticAttribute, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setRequestContextAttribute |
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
getServletContext, getTempDir, getWebApplicationContext |
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, toString, wait, wait, wait |
Constructor Detail |
public TilesJstlView()
Method Detail |
protected void exposeModelAsRequestAttributes(java.util.Map model, javax.servlet.http.HttpServletRequest request) throws javax.servlet.ServletException
InternalResourceView
exposeModelAsRequestAttributes
in class InternalResourceView
model
- Map of model objects to exposerequest
- current HTTP request
javax.servlet.ServletException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |