velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Bubna" <nbu...@gmail.com>
Subject Re: Injecting properties into Velocity...
Date Wed, 03 Dec 2008 21:04:32 GMT
How are you injecting it and how are you using it?

On Wed, Dec 3, 2008 at 12:24 PM, carlo latasa <clatasa@gmail.com> wrote:
> Thanks again,
>
> However injecting the ResrouceBundle into the VelocityContext does not work.
> Perhaps it's because "label=.... invokes some special struts / velocity
> code?
>
> Carlo.
>
> On Wed, Dec 3, 2008 at 9:28 AM, carlo latasa <clatasa@gmail.com> wrote:
>
>> Hello
>>
>> I'm trying to get velocity to use a properties file of mine that has
>> customized labels. This is so I can call a velocity tag like : #stextfield(
>> "label='member.username.label'" "name='username'" "size=25") where the label
>> value would be defined in the properties file.
>>
>> Is it just a matter of putting the properties into some kind of static
>> Velocity class somewhere?
>>
>> Thanks in advance,
>>
>> Carlo
>>
>
>
>
> --
> Carlo Latasa
> EdgeDriven.com
> Cell: (415) 385-1567
>

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


Mime
View raw message