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 <[EMAIL PROTECTED]>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • #text() tecsorosario
    • Shinobu Kawai

Reply via email to