I guess that is what you want (in a pull tool):I don't like this suggestion at all. Why write a pull tool to do pretty much exactly what the templates are doing anyway?
public String eval(String vtl, RunData data) throws Exception { StringWriter sw = new StringWriter(); boolean success = Velocity.evaluate(TurbineVelocity.getContext(data), sw, "", vtl);
if (success) { return sw.toString(); }
return null;
}
Scott
-- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
