Akmal Sarhan wrote:

I guess that is what you want (in a pull tool):

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;
}


I don't like this suggestion at all. Why write a pull tool to do pretty much exactly what the templates are doing anyway?

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]



Reply via email to