How to read message properties that has parameters into a program

2012-07-08 Thread lang
I have a program that's gonna send an email confirmation to a customer. The email text is stored in a property file. How can I read these values with substitution parameters? I'm aware of getString(key) but that has has parameters Example of one property: mail01=Dear {customer}, we confirm

Re: How to read message properties that has parameters into a program

2012-07-08 Thread Thomas Götz
Have a look at org.apache.wicket.model.StringResourceModel. -Tom On 08.07.2012, at 22:44, lang wrote: I have a program that's gonna send an email confirmation to a customer. The email text is stored in a property file. How can I read these values with substitution parameters? I'm