org.apache.turbine.services.velocity |
Velocity Service is used to provide Turbine with a Velocity based view.
$Id: package.html 534527 2007-05-02 16:10:59Z tv $
|
Java Source File Name | Type | Comment |
PathConverterTest.java | Class | Tests startup of the Velocity Service and translation of various
path patterns.
author: Henning P. |
TurbineVelocity.java | Class | This is a simple static accessor to common Velocity tasks such as
getting an instance of a context as well as handling a request for
processing a template.
Context context = TurbineVelocity.getContext(data);
context.put("message", "Hello from Turbine!");
String results = TurbineVelocity.handleRequest(context, "helloWorld.vm");
data.getPage().getBody().addElement(results);
author: John D. |
TurbineVelocityService.java | Class | This is a Service that can process Velocity templates from within a
Turbine Screen. |
VelocityService.java | Interface | Implementations of the VelocityService interface.
author: John D. |