If I want to use velocity in a scheduled job, how do I get a handle in such
a way as to still have my context tools in scope?

            TurbineVelocityService vs = new TurbineVelocityService();
            Context ctx = vs.getContext();
            .
            .
            .
            String myOutput = vs.handleRequest( ctx,
"screens/RemMail.vm" ) );

myOutput in this case is good except things like $ui and $link are giving:

$ui.sansSerifFonts is not a valid reference.

type errors in my velocity log.

thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to