Standalone Application Toolbox

2005-06-21 Thread Markos Charatzas
Hi there, It is possible to have a toolbox in a standalone velocity application? Thanks in advance, Markos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Standalone Application Toolbox

2005-06-21 Thread Markos Charatzas
Im using the org.apache.velocity.tools.view.XMLToolboxManager to load the toolbox, but do I need to register it somehow with the VelocityEngine? Thanks, Markos On Tuesday 21 June 2005 14:29, Markos Charatzas wrote: Hi there, It is possible to have a toolbox in a standalone velocity

Re: Standalone Application Toolbox

2005-06-21 Thread Markos Charatzas
Digging around I found out that I just jave to use the context provided by toolboxManager.getToolboxContext(String) instead. Although I must be missing something cuz using is it seems that the template.merge( Context context, Writer writer ) does not actually work its way through the

Re: Standalone Application Toolbox

2005-06-21 Thread Markos Charatzas
Just used the new VelocityContext(Context context) constructor to wrap the toolbox context. Hope someone will find this thread useful! :p Sorry for the trouble, Markos On Tuesday 21 June 2005 15:21, Markos Charatzas wrote: Digging around I found out that I just jave to use the context