Thanks Claude,
I pulled the 1.3 RC and see the ContextTool.
My use of velocity is within an Eclipse Plug-in that is generating code.
I'll creae a toolbox.xml on the plug-in runtime classpath since I do not
have a WEB-INF directory.
Thanks
On 2/2/07, Claude Brisson <[EMAIL PROTECTED]> wrote:
Ah. You probably downloaded VeocityTools 1.2. This tool can only be
found in 1.3. Try with VelocityTools 1.3rc1 (in the Alpha/Beta section
of the download page).
Claude
Le vendredi 02 février 2007 à 06:55 -0700, Michael Giroux a écrit :
> Claude,
> I downloaded the VelocityTools from the apache velocity site, but I do
not
> see anything about ContextTool. Am I overlooking something?
>
> Michael
>
>
> On 1/31/07, Claude Brisson <[EMAIL PROTECTED]> wrote:
> >
> > Hi.
> >
> > If your project is using VelocityTools, you can add the provided
> > ContextTool to the toolbox.xml file. Otherwise, you'll just have to do
> > in java something like
> >
> > context.put("context",context);
> >
> > to be able to do
> >
> > #foreach($key in $context.keys)
> > $key -> $context.get($key)
> > #end
> >
> >
> > Claude
> >
> >
> > Le mercredi 31 janvier 2007 à 11:50 -0700, Michael Giroux a écrit :
> > > Hi,
> > > I'm trying to debug a vm without having to drill into the Java code
that
> > > runs the Velocity engine.
> > >
> > > Is there any way to use #foreach to cycle through the context to
> > generate a
> > > listing of the available members?
> > >
> > > Thanks
> > > Michael Giroux
> >
> >
> > ---------------------------------------------------------------------
> > 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]