velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinobu Kawai <shinobu.ka...@gmail.com>
Subject Re: #text()
Date Sat, 12 Mar 2005 03:14:11 GMT
Hi tecsorosario,

> Hello, I have a .vm fila which contains:
> 
> <td>#text("label.trigger.group")</td>
>  <td>#text("label.trigger.name")</td>
>  <td>#text("label.trigger.type")</td>
>  <td>#text("label.trigger.nextFireTime")</td>
> 
> and i think there is no such velocity directive. Can anyone help me with this ?

Who told you about a "#text" directive?  AFAIK, no such thing.

> The matter is that it is supposed that the value, for example, must be obtained from
a .properties file.

If you're using Struts, MessageTool should help.
   http://jakarta.apache.org/velocity/tools/struts/MessageTool.html

And I recall seeing a tool that works with ResourceBundles somewhere. 
(In bugzilla or wiki, maybe?)

Best regards,
-- Shinobu

--
Shinobu Kawai <shinobu.kawai@gmail.com>

---------------------------------------------------------------------
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