Class Evaluate

java.lang.Object
org.apache.velocity.runtime.directive.Directive
org.apache.velocity.runtime.directive.Evaluate
All Implemented Interfaces:
Cloneable, DirectiveConstants

public class Evaluate extends Directive
Evaluates the directive argument as a VTL string, using the existing context.

The nesting depth is limited by the directive.parse.max_depth property (10 by default, zero or less meaning unlimited): #evaluate and #parse share the same template name stack, so a chain mixing both directives is counted as a whole against that one limit.

Since:
1.6
Version:
$Id$
Author:
Will Glass-Husain