@Component @Order(value=2147483646) public class WebCmsPageModelLoader extends AbstractWebCmsAssetModelLoader<WebCmsPage>
WebCmsPage. Registers the WebCmsPage as an attribute on the model.
The page will actually be registered twice, once as asset attribute name, and once as page attribute.
This loader also loads the WebCmsComponentModelSet as default scope on the WebCmsComponentModelHierarchy.
The scope name is page.
The page template will be resolved an used as default view name when rendering the page.
Will not allow a next loader to execute if the asset context contains a WebCmsPage.| Constructor and Description |
|---|
WebCmsPageModelLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
loadModel(javax.servlet.http.HttpServletRequest request,
WebCmsPage page,
org.springframework.ui.Model model) |
protected boolean |
supports(WebCmsAsset<?> asset) |
loadModel, registerAssetComponentsForScope, setComponentModelHierarchy, setComponentModelServiceprotected boolean supports(WebCmsAsset<?> asset)
supports in class AbstractWebCmsAssetModelLoader<WebCmsPage>protected boolean loadModel(javax.servlet.http.HttpServletRequest request,
WebCmsPage page,
org.springframework.ui.Model model)
loadModel in class AbstractWebCmsAssetModelLoader<WebCmsPage>Copyright © 2020. All rights reserved.