Nothing urgent, just a minor bit of fuzziness in
TurbineVelocityService:
This is a Service that can process Velocity templates from
within a Turbine Screen. Here's an example of how you might
use it from a screen:
Context context = TurbineVelocity.getContext(data);
context.put("message", "Hello from Turbine!");
String results = TurbineVelocity.handleRequest(context,"helloWorld.vm");
data.getPage().getBody().addElement(results);
This is a nice example, but confusing since it is sitting in a class
api doc for a class that is not mentioned in the example ;) The same
example does appear in TurbineVelocity, so where does
TurbineVelocityService fit into this picture?
--
Gary Lawrence Murphy <[EMAIL PROTECTED]> TeleDynamics Communications Inc
Business Innovations Through Open Source Systems: http://www.teledyn.com
"Computers are useless. They can only give you answers."(Pablo Picasso)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]