org.nuxeo.ecm.platform.rendering.fm.extensions
Class LocaleMessagesMethod
java.lang.Object
org.nuxeo.ecm.platform.rendering.fm.extensions.LocaleMessagesMethod
- All Implemented Interfaces:
- freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel
public class LocaleMessagesMethod
- extends Object
- implements freemarker.template.TemplateMethodModelEx
Message method that differs from the standard one as its second argument is
the locale.
- Author:
- Bogdan Stefanescu, Sun Seng David TAN
Fields inherited from interface freemarker.template.TemplateModel |
NOTHING |
LocaleMessagesMethod
public LocaleMessagesMethod(ResourceComposite bundle)
setBundle
public void setBundle(ResourceComposite bundle)
getBundle
public ResourceComposite getBundle()
exec
public Object exec(List arguments)
throws freemarker.template.TemplateModelException
- Specified by:
exec
in interface freemarker.template.TemplateMethodModel
- Throws:
freemarker.template.TemplateModelException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.