public class FreemarkerI18NMessageMethod extends Object implements freemarker.template.TemplateMethodModelEx
Custom FreeMarker Template language method.
Returns an I18N message resolved for the current locale and specified message ID.
Usage: message(String id)
| Constructor and Description |
|---|
FreemarkerI18NMessageMethod() |
public Object exec(List args) throws freemarker.template.TemplateModelException
exec in interface freemarker.template.TemplateMethodModelexec in interface freemarker.template.TemplateMethodModelExfreemarker.template.TemplateModelExceptionTemplateMethodModel.exec(java.util.List)Copyright © 2005–2016 Alfresco Software. All rights reserved.