2013/7/18 Paul Benedict <pbened...@apache.org>: > 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 226. Have you tried to use addActionMessage(getText("emailSent", "emailSent", email)); ? http://svn.apache.org/viewvc/struts/struts2/trunk/xwork-core/src/test/java/com/opensymphony/xwork2/ActionSupportTest.java?view=markup Regards -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org