Generic Velocity-based presentation style. The following default objects are put in the context:
data - rundata object
name - name of the parameter
value - current value of the parameter
parms - map of additional style parameters
Supporting Velocity templates should be placed in ${velocity-templates-root}/parameters folder.
It may be used directly with "template" as the only required parameter. This is useful when the
no additional objects are needed by the template.
If additional objects need to be put in the context, a new class extending VelocityParameterPresentationStyle
should be created. Override buildContext to place custom objects in the Velocity context.
If "template" parameter is not specified, it is assumed that the template name is "classname.vm".
buildContext(org.apache.turbine.util.RunData data,
java.lang.String name,
java.lang.String value,
java.util.Map parms,
org.apache.velocity.context.Context context)
Override this method to put your own objects in the Velocity context