velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinobu Kawai Yoshida <>
Subject Re: Question on using text from resource bundles
Date Fri, 14 Jan 2005 01:01:35 GMT
Hi Mike,

> Or you could just write your own custom velocity tool (perhaps using the
> struts one as a basis) if that's not a good fit.   A velocity tool is just a
> java class that's stuck into the Velocity context so you can call methods on
> it.

ResourceBundles are one of the key features for java i18n.

I would say a ResourceBundleTool (or something like that) could come
in handy as a generic tool.  And maybe a ViewTool which uses the
request's Locale, too.  :)

Best regards,
-- Shinobu

Shinobu "Kawai" Yoshida <>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message