velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "carlo latasa" <clat...@gmail.com>
Subject Re: Injecting properties into Velocity...
Date Wed, 03 Dec 2008 20:24:13 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message