info.magnolia.module.templatingcomponents
Interface AuthoringUiComponent
- All Known Implementing Classes:
- AbstractAuthoringUiComponent, EditBar, NewBar, PageEditBar, SingletonParagraphBar
public interface AuthoringUiComponent
Implementations of AuthoringUiComponent render specific "components" in templates.
They're usually exposed to templating engines via a specific wrapper; see the freemarker and jsp subpackages for examples.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
Method Summary |
void |
postRender()
This method should be called by templating-engine wrappers after rendering the component AND its body. |
void |
render(Appendable out)
|
render
void render(Appendable out)
throws IOException
- Throws:
IOException
postRender
void postRender()
- This method should be called by templating-engine wrappers after rendering the component AND its body.
Certain components (SingletonParagraphBar for instance) will need to let the wrapper render their body,
and call this afterwards.
Can be used, for instance, as a "cleanup" mechanism, if the component modified the context.
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.