public class JspRenderer extends AbstractRenderer
MODEL_ATTRIBUTE
Constructor and Description |
---|
JspRenderer()
Deprecated.
since 5.0.2, use
JspRenderer(RenderingEngine) |
JspRenderer(RenderingEngine renderingEngine) |
Modifier and Type | Method and Description |
---|---|
protected Map |
newContext()
We expose nodes as Map instances in JSPs.
|
protected void |
onRender(javax.jcr.Node content,
RenderableDefinition definition,
RenderingContext renderingCtx,
Map<String,Object> ctx,
String templateScript)
Finally execute the rendering.
|
addContextAttribute, getAggregationStateSafely, getContentType, getContentType, getContextAttributes, getMainContentSafely, newModel, newModel, render, resolveTemplateScript, restoreContext, saveAttribute, saveContextState, setContentType, setContextAttribute, setContextAttributes, setupContext, wrapNodeForModel, wrapNodeForTemplate
public JspRenderer()
JspRenderer(RenderingEngine)
@Inject public JspRenderer(RenderingEngine renderingEngine)
protected void onRender(javax.jcr.Node content, RenderableDefinition definition, RenderingContext renderingCtx, Map<String,Object> ctx, String templateScript) throws RenderException
AbstractRenderer
onRender
in class AbstractRenderer
RenderException
protected Map newContext()
newContext
in class AbstractRenderer
Copyright © 2003–2017 Magnolia International Ltd.. All rights reserved.