Re: application-level properties not component properties.

2009-06-19 Thread satar
Wow, thanks for such a blazing fast response Igor! Actually, I am already using the PropertyPlaceholderConfigurer (I think this is what you are talking about), and using different filter files for my different environments connected through profiles in my pom.xml file. Knew none of this stuff

Re: application-level properties not component properties.

2009-06-19 Thread satar
SWEET, I was able to add it to my application bean directly: bean id=wicketApplication class=com.untd.bsmatrix.MatrixApplication property name=hostURL value=${app.host.url}/ /bean Of course, I have more properties like this but the first example worked as expected! Thanks again

Re: application-level properties not component properties.

2009-06-18 Thread Igor Vaynberg
getClass().getClassLoader().getResourceAsStream() has always worked fine for me. also did you check your war and make sure the properties file was packaged? i see you are using spring? (ApplicationContext) if so you might want to look at propertyconfigurer - it is easy to setup a bean: