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
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
-
Method Summary
-
Field Details
-
bundle
-
-
Constructor Details
-
LocaleMessagesMethod
-
-
Method Details
-
setBundle
-
getBundle
-
exec
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModel
- Specified by:
exec
in interfacefreemarker.template.TemplateMethodModelEx
- Throws:
freemarker.template.TemplateModelException
-