velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Bubna" <nbu...@gmail.com>
Subject Re: VelocityEngine...
Date Thu, 04 Dec 2008 17:44:02 GMT
The VelocityManager class is a part of WebWork, not Velocity.  So, i
don't see how the Velocity version is relevant here...

On Thu, Dec 4, 2008 at 9:21 AM, carlo latasa <clatasa@gmail.com> wrote:
> On Thu, Dec 4, 2008 at 9:19 AM, carlo latasa <clatasa@gmail.com> wrote:
>
>> So in the webwork 1.x code I have, there's a subclass of the velocity
>> runtime Directive class that has some code like the following:
>>
>>     VelocityEngine velocityEngine =
>> VelocityManager.getInstance().getVelocityEngine();
>>     Template template = velocityEngine.getTemplate(templateName);
>
>
> however it looks like you can no longer get the velocityengine from the
> velocitymanager. How would I do this now using Velocity 1.5?
>
> (Sorry for the last partial post)
>
> Carlo.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message