velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Sponziello <andrea.sponzie...@unile.it>
Subject Re: context access from whitin VTL
Date Mon, 12 Jul 2004 13:01:54 GMT
Hi all,

I solved the problem by myself. I discovered the

"org.apache.velocity.tools.view.tools.ViewRenderTool"

that doesn't need a context to work... fantastic!

I'm sorry if you loosed time for me,

many tanks,

Andrea

> Hi all,
>
> i'm new to Velocity but i'm already impressed by the filosophy behind
> this technology. So I decided to use it in my new struts application as
> the view technology.
>
> Now I've a problem. I need to use the RenderTool to execute some
> dynamically generated VTL code but the RenderTool takes one
> |org.apache.velocity.context.Context parameter.
>
> How can I access this reference to the Velocity
> context from within a .vm file that I use for
> the presentation layer?
>
> Can someone help me?
>
> I'm sorry if this is the wrong place for making
> questions.
>
> Best regards,
>
> Andrea Sponziello
> |
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message