Kaj Hejer opened SPR-2855 and commented
I.e. had support for getMessage(String code, Object[] args, Locale locale)
this macro could like like the following:
<#macro messageArgsText code, args, text>${springMacroRequestContext.getMessage(code, args, text)}</#macro>
Affects: 2.0 final
Comment From: spring-projects-issues
Kaj Hejer commented
another nice to have macro:
<#macro messageArgs code, args>${springMacroRequestContext.getMessage(code, args)}</#macro>
Comment From: spring-projects-issues
Juergen Hoeller commented
Thanks for the suggestion! I've added both "messageArgs" and "messageArgsText" to the "spring.ftl" FreeMarker macro template. They should be available in the next 2.0.3 snapshot (http://www.springframework.org/snapshots); feel free to give them an early try!
Juergen