On Tue, 28 Aug 2012 11:58:08 -0300, George Christman
<gchrist...@cardaddy.com> wrote:
Thanks Thiago, how do you make the app.properties available to your java
classes?
In page classes, components and mixins, just @Inject Messages and use its
get() method.
Another option is to use he same way you can read files from any Servlet
API-based framework: get the ServletContext,
String path = getServletContext().getRealPath("/WEB-INF/" + fileName);
Use the Properties class to read the file at that path.
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org