Re: Application properties

2014-01-08 Thread Thiago H de Paula Figueiredo
On Tue, 07 Jan 2014 15:54:52 -0200, Matthias wrote: Hi, Hi! I'm looking for the best way to set global application properties like the path to my data directory or the url of my solr server. Currently I set them within the contributeApplicationDefaults() method of my modules (I

Re: Application properties

2014-01-07 Thread Rural Hunter
You can also put it in web.xml and access it in your pages/services via injected symbol. 于 2014/1/8 3:15, Matthias 写道: I thought that there is a tapestry way of doing this. But if not, I try to use the database. I actually never thought of that, so thanks for the tip. On 07.01.2014 19:24, Bo

Re: Application properties

2014-01-07 Thread Matthias
x27;s startup script, and read them using standard Java APIs #1 is my favorite (lots of flexibility; you can even provide a web interface to edit some of them if desired). On Tue, Jan 7, 2014 at 12:54 PM, Matthias wrote: Hi, I'm looking for the best way to set global application properties like t

Re: Application properties

2014-01-07 Thread Bob Harner
'm looking for the best way to set global application properties like the > path to my data directory or the url of my solr server. Currently I set them > within the contributeApplicationDefaults() method of my modules (I have a > production and development module). But I don't wa

Application properties

2014-01-07 Thread Matthias
Hi, I'm looking for the best way to set global application properties like the path to my data directory or the url of my solr server. Currently I set them within the contributeApplicationDefaults() method of my modules (I have a production and development module). But I don't w