hi nathan,

I'm using struts 1.3.8, velocity 1.6 and velocity tools 1.4.

Thanks!
Andreas

Nathan Bubna schrieb:
What framework are you using VelocityTools with?  What version of
VelocityTools are you using?

On Mon, Mar 16, 2009 at 9:45 AM, Andreas Bohnert <[email protected]> wrote:
dear velocity forum,

I need access to a tool instance which is configured in my toolbox.xml from
within java.
how can I access these (request-scope) instances from:

a.) ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
   in *Action.java?


b.) another tool?
I have implemented
public void init( Object context ) and I'm getting the ViewContext, but when
I try ChainedContext.getToolBox() it is always null!



Can you give me a hint?

Thanks,
Andreas



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