I am using the 1.4 version of the tool. 

I am trying to access the RuntimeInstance from a subclass of 
VelocityViewServlet.

-----Original Message-----
From: Nathan Bubna [mailto:[email protected]] 
Sent: Tuesday, January 05, 2010 1:16 PM
To: Velocity Users List
Subject: Re: Get hold of RuntimeInstance

Yeah, the VelocityViewServlet uses a VelocityEngine instance, not the singleton.

What version of VelocityTools are you using?  And, in what class are
you trying to do this retrieval?  A subclass of VelocityViewServlet?
A tool class?  A template?  An "action" class in a framework?  Your
answers to these questions can greatly change the answer.

On Tue, Jan 5, 2010 at 9:42 AM, George, Nixon <[email protected]> wrote:
> Some comments in addition to my question:
>
> Strangely enough the command RuntimeSingleton.getRuntimeServices() gives me a 
> different RuntimeInstance than that held by the VelocityViewServlet.
>
> -----Original Message-----
> From: George, Nixon [mailto:[email protected]]
> Sent: Monday, January 04, 2010 5:26 PM
> To: '[email protected]'
> Subject: Get hold of RuntimeInstance
>
> I am using VelocityViewServlet and need to get hold of its RuntimeInstance 
> object. How do I get to it? Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to