info.magnolia.templating.elements
Class InitElement
java.lang.Object
info.magnolia.templating.elements.AbstractTemplatingElement
info.magnolia.templating.elements.AbstractContentTemplatingElement
info.magnolia.templating.elements.InitElement
- All Implemented Interfaces:
- TemplatingElement
public class InitElement
- extends AbstractContentTemplatingElement
Embeds js and css needed while authoring pages.
TODO: this will probably go away in 5.0 as the widget-editor will inject all needed js and css into the page to be edited. Or we might deprecte it and keep it for backward compatibility but w/o
injecting the page_editor js source and css.
Constructor Summary |
InitElement(info.magnolia.cms.beans.config.ServerConfiguration server,
info.magnolia.rendering.context.RenderingContext renderingContext)
|
Methods inherited from class info.magnolia.templating.elements.AbstractContentTemplatingElement |
getContent, getNodeIdentifier, getNodePath, getPassedContent, getPath, getWorkspace, renderComments, restoreAttributesInWebContext, setAttributesInWebContext, setContent, setNodeIdentifier, setPath, setWorkspace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PAGE_EDITOR_JS_SOURCE
public static final String PAGE_EDITOR_JS_SOURCE
PAGE_EDITOR_CSS
public static final String PAGE_EDITOR_CSS
InitElement
public InitElement(info.magnolia.cms.beans.config.ServerConfiguration server,
info.magnolia.rendering.context.RenderingContext renderingContext)
begin
public void begin(Appendable out)
throws IOException,
info.magnolia.rendering.engine.RenderException
- Specified by:
begin
in interface TemplatingElement
- Overrides:
begin
in class AbstractTemplatingElement
- Throws:
IOException
info.magnolia.rendering.engine.RenderException
end
public void end(Appendable out)
throws IOException,
info.magnolia.rendering.engine.RenderException
- Description copied from class:
AbstractTemplatingElement
- Override this method if you need to "do something" once the component is rendered, i.e cleanup the context.
- Specified by:
end
in interface TemplatingElement
- Overrides:
end
in class AbstractTemplatingElement
- Throws:
IOException
info.magnolia.rendering.engine.RenderException
setDialog
public void setDialog(String dialog)
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.