info.magnolia.module.templating
Interface EarlyExecutionAware


public interface EarlyExecutionAware

Implemented by models that want to handle early execution in a separate callback. Also adds a setter for the parent model. It is called after early execution and before rendering.

Author:
tmattsson
See Also:
RenderingModel, ModelExecutionFilter

Method Summary
 java.lang.String executeEarly()
          Called after all properties were set.
 void setParent(RenderingModel parentModel)
          Called before rendering of the paragraph.
 

Method Detail

setParent

void setParent(RenderingModel parentModel)
Called before rendering of the paragraph.

Parameters:
parentModel -

executeEarly

java.lang.String executeEarly()
Called after all properties were set. Can return a string which is passed to the method. RenderableDefinition.determineTemplatePath(String, RenderingModel)



Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.