public class StaticPageVelocityViewController extends VelocityViewController
StaticPageContentManager. The list of static page sections will be exposed under the name
pageSections.| Constructor and Description |
|---|
StaticPageVelocityViewController() |
| Modifier and Type | Method and Description |
|---|---|
StaticPageContentManager |
getContentManager() |
protected boolean |
prepareModel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Map<String,Object> model)
Prepares the model by adding the key value pairs.
|
void |
setContentManager(StaticPageContentManager contentManager)
Set the content manager
|
getContentTemplate, getPage, getSelectedMenu, getView, handleRequestInternal, setContentTemplate, setCssCategories, setJavaScriptCategories, setPage, setSelectedMenu, setTemplateManager, setViewhandleRequest, isSynchronizeOnSession, setSynchronizeOnSessionapplyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeadergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic StaticPageContentManager getContentManager()
protected boolean prepareModel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Map<String,Object> model)
throws Exception
VelocityViewControllerprepareModel in class VelocityViewControllerrequest - the requestresponse - the responsemodel - the model to prepareException - Exception.public void setContentManager(StaticPageContentManager contentManager)
contentManager - the manager of the static contentCopyright © 2019 Communote team. All rights reserved.