Re: Trouble using getText() with parameter substitution

2013-07-18 Thread Lukasz Lenart
2013/7/18 Paul Benedict : > I have a global properties file with this key: > emailSent=The email was sent to {0}. > > I add a message in my action: > addActionMessage(getText("emailSent", Arrays.asList(email))); > > And the {0} stays in the output. Why is this? Strange, it is well tested [1] line

Trouble using getText() with parameter substitution

2013-07-18 Thread Paul Benedict
I have a global properties file with this key: emailSent=The email was sent to {0}. I add a message in my action: addActionMessage(getText("emailSent", Arrays.asList(email))); And the {0} stays in the output. Why is this? -- Cheers, Paul