You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Rakesh Reddy <ai...@yahoo.com> on 2006/08/16 17:18:09 UTC
Can we configuring ApplicationResources.properties for Velocity?
Hi --
Is there any way to configure the Velocity enigine to use the ApplicationResources.properties (For internationalization) while generating the text from templates? Instead of the passing the inviduall label value.
Regrads
Rakesh
---------------------------------
Get your email and more, right on the new Yahoo.com
Re: Can we configuring ApplicationResources.properties for Velocity?
Posted by Rakesh Reddy <ai...@yahoo.com>.
Sorry I didn't understand. Can I use the velocity tools (Message Tool) if I am not using the velocity framework in front end.
Regards
Rakesh
Manish <pr...@gmx.net> wrote: You can put your own tool in the context which will pick up from the resourse
bundle...should be straight-forward I'd think.
- Manish
----- Original Message -----
From: "Rakesh Reddy"
To: "Velocity Users List"
Sent: Thursday, August 17, 2006 12:29 AM
Subject: Re: Can we configuring ApplicationResources.properties for Velocity?
> Thanks for the help.
> But I am not looking for VelocityStruts support (I am not trying to use the
> velocity in view layer or on the front end in JSP's), I am trying to create a
> standalone application where I have some 10-20 VM templates (which are
> basically some email notification templates), and I want these templates to be
> internationalized.
> It would be great where I can feed the Applicationresource.properties (some
> thing like this kind of file) to velocity engine.
>
> Regards
> Rakesh
>
> Nathan Bubna wrote: If you are using the VelocityStruts
> support in VelocityTools, then the
> MessageTool is what you are looking for.
>
> http://jakarta.apache.org/velocity/tools/struts/MessageTool.html
>
> Use of this is demonstrated in the velstruts example application that
> comes with VelocityTools.
>
> On 8/16/06, Rakesh Reddy wrote:
>> Hi --
>>
>> Is there any way to configure the Velocity enigine to use the
>> ApplicationResources.properties (For internationalization) while generating
>> the text from templates? Instead of the passing the inviduall label value.
>>
>> Regrads
>> Rakesh
>>
>>
>>
>>
>> ---------------------------------
>> Get your email and more, right on the new Yahoo.com
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail Beta.
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1ยข/min.
Re: Can we configuring ApplicationResources.properties for Velocity?
Posted by Manish <pr...@gmx.net>.
You can put your own tool in the context which will pick up from the resourse
bundle...should be straight-forward I'd think.
- Manish
----- Original Message -----
From: "Rakesh Reddy" <ai...@yahoo.com>
To: "Velocity Users List" <ve...@jakarta.apache.org>
Sent: Thursday, August 17, 2006 12:29 AM
Subject: Re: Can we configuring ApplicationResources.properties for Velocity?
> Thanks for the help.
> But I am not looking for VelocityStruts support (I am not trying to use the
> velocity in view layer or on the front end in JSP's), I am trying to create a
> standalone application where I have some 10-20 VM templates (which are
> basically some email notification templates), and I want these templates to be
> internationalized.
> It would be great where I can feed the Applicationresource.properties (some
> thing like this kind of file) to velocity engine.
>
> Regards
> Rakesh
>
> Nathan Bubna <nb...@gmail.com> wrote: If you are using the VelocityStruts
> support in VelocityTools, then the
> MessageTool is what you are looking for.
>
> http://jakarta.apache.org/velocity/tools/struts/MessageTool.html
>
> Use of this is demonstrated in the velstruts example application that
> comes with VelocityTools.
>
> On 8/16/06, Rakesh Reddy wrote:
>> Hi --
>>
>> Is there any way to configure the Velocity enigine to use the
>> ApplicationResources.properties (For internationalization) while generating
>> the text from templates? Instead of the passing the inviduall label value.
>>
>> Regrads
>> Rakesh
>>
>>
>>
>>
>> ---------------------------------
>> Get your email and more, right on the new Yahoo.com
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail Beta.
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Can we configuring ApplicationResources.properties for Velocity?
Posted by Rakesh Reddy <ai...@yahoo.com>.
Thanks for the help.
But I am not looking for VelocityStruts support (I am not trying to use the velocity in view layer or on the front end in JSP's), I am trying to create a standalone application where I have some 10-20 VM templates (which are basically some email notification templates), and I want these templates to be internationalized.
It would be great where I can feed the Applicationresource.properties (some thing like this kind of file) to velocity engine.
Regards
Rakesh
Nathan Bubna <nb...@gmail.com> wrote: If you are using the VelocityStruts support in VelocityTools, then the
MessageTool is what you are looking for.
http://jakarta.apache.org/velocity/tools/struts/MessageTool.html
Use of this is demonstrated in the velstruts example application that
comes with VelocityTools.
On 8/16/06, Rakesh Reddy wrote:
> Hi --
>
> Is there any way to configure the Velocity enigine to use the ApplicationResources.properties (For internationalization) while generating the text from templates? Instead of the passing the inviduall label value.
>
> Regrads
> Rakesh
>
>
>
>
> ---------------------------------
> Get your email and more, right on the new Yahoo.com
>
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
---------------------------------
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.
Re: Can we configuring ApplicationResources.properties for Velocity?
Posted by Nathan Bubna <nb...@gmail.com>.
If you are using the VelocityStruts support in VelocityTools, then the
MessageTool is what you are looking for.
http://jakarta.apache.org/velocity/tools/struts/MessageTool.html
Use of this is demonstrated in the velstruts example application that
comes with VelocityTools.
On 8/16/06, Rakesh Reddy <ai...@yahoo.com> wrote:
> Hi --
>
> Is there any way to configure the Velocity enigine to use the ApplicationResources.properties (For internationalization) while generating the text from templates? Instead of the passing the inviduall label value.
>
> Regrads
> Rakesh
>
>
>
>
> ---------------------------------
> Get your email and more, right on the new Yahoo.com
>
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org