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]