public class PageElement extends AbstractContentTemplatingElement
cms:page
tag.Modifier and Type | Field and Description |
---|---|
static String |
CMS_PAGE_TAG |
Constructor and Description |
---|
PageElement(ServerConfiguration server,
RenderingContext renderingContext)
|
PageElement(ServerConfiguration server,
RenderingContext renderingContext,
javax.inject.Provider<TemplatingModule> templatingModuleProvider,
WebContext webContext) |
Modifier and Type | Method and Description |
---|---|
void |
begin(Appendable out) |
void |
end(Appendable out)
Override this method if you need to "do something" once the component is rendered, i.e cleanup the context.
|
getActivationStatus, getContent, getDialog, getEditable, getNodeIdentifier, getNodePath, getPassedContent, getPath, getTemplateDefinition, getWebContext, getWorkspace, isMessageKey, legacyTranslate, renderComments, restoreAttributesInWebContext, setAttributesInWebContext, setContent, setDialog, setEditable, setNodeIdentifier, setPageEditorAttributes, setPath, setTemplateDefinition, setWorkspace
currentContent, getDefinitionMessage, getInterfaceMessage, getRenderingContext, getServer, isAdmin
public static final String CMS_PAGE_TAG
@Inject public PageElement(ServerConfiguration server, RenderingContext renderingContext, javax.inject.Provider<TemplatingModule> templatingModuleProvider, WebContext webContext)
@Deprecated public PageElement(ServerConfiguration server, RenderingContext renderingContext)
public void begin(Appendable out) throws IOException, RenderException
begin
in interface TemplatingElement
begin
in class AbstractTemplatingElement
IOException
RenderException
public void end(Appendable out) throws IOException, RenderException
AbstractTemplatingElement
end
in interface TemplatingElement
end
in class AbstractTemplatingElement
IOException
RenderException
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.