...
Multiexcerpt |
---|
MultiExcerptName | model-properties |
---|
|
The model itself provides the following built-in properties: parent : Model of the parent component or template.root : Top root model of the rendering process.content : Content node bound to the model in the rendering context provided as a ContentMap.node : Content node bound to the model in the rendering context provided as a Node.definition : The renderable definition (template, area or component) bound to the model. Same as Rendering context objects#def def .
|
These properties can referenced like this:
...
Multiexcerpt |
---|
MultiExcerptName | ctx_more-infos |
---|
|
The Javadoc resource link |
---|
className | info.magnolia.context.Context |
---|
renderType | asynchronous |
---|
| interface provides access to:In addition, Javadoc resource link |
---|
className | info.magnolia.context.WebContext |
---|
renderType | asynchronous |
---|
| provides access to:aggregationState ( Javadoc resource link |
---|
className | info.magnolia.cms.core.AggregationState |
---|
renderType | asynchronous |
---|
| )contextPath (current context path)request (javax.servlet.http.HttpServletRequest )
Any attributes (request, session or application scoped) listed under config:server/rendering/engine/protectedAttributes are not exposed (unconfigured attributes default to that list). You can customize the list by importing and adjusting the default config.server.rendering.engine.protectedAttributes.yaml . servletContext (javax.servlet.ServletContext )title | config.server.rendering.engine.protectedAttributes.yaml |
---|
| 'protectedAttributes':
'servletContext': 'servletContext'
'javax.security.auth.Subject': 'javax.security.auth.Subject'
'com.vaadin.server.VaadinSession.Admincentral': 'com.vaadin.server.VaadinSession.Admincentral' |
WebContext properties are null if the execution is not a Web page request. |
...