info.magnolia.templating.elements
Class EditElement
java.lang.Object
info.magnolia.templating.elements.AbstractTemplatingElement
info.magnolia.templating.elements.AbstractContentTemplatingElement
info.magnolia.templating.elements.EditElement
- All Implemented Interfaces:
- TemplatingElement
public class EditElement
- extends AbstractContentTemplatingElement
Embeds a marker within the page that instructs the page editor to place an edit bar/button at this location.
- Version:
- $Id$
Constructor Summary |
EditElement(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, getPath, getTargetContent, getWorkspace, restoreAttributesInWebContext, setAttributesInWebContext, setContent, setNodeIdentifier, setPath, setWorkspace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMS_EDIT
public static final String CMS_EDIT
- See Also:
- Constant Field Values
FORMAT_BAR
public static final String FORMAT_BAR
- See Also:
- Constant Field Values
FORMAT_BUTTON
public static final String FORMAT_BUTTON
- See Also:
- Constant Field Values
DEFAULT_FORMAT
public static final String DEFAULT_FORMAT
- See Also:
- Constant Field Values
EditElement
public EditElement(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
getDialog
public String getDialog()
setDialog
public void setDialog(String dialog)
getFormat
public String getFormat()
setFormat
public void setFormat(String format)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.