public interface TagMessageWriterBehavior
| Modifier and Type | Method and Description |
|---|---|
String |
renderMessage(String resolvedText,
String code,
String locale,
String fallbackText)
Implementations should override this method to customize how translated messages are rendered on JSP pages via
OpenmrsMessageTag. |
String renderMessage(String resolvedText, String code, String locale, String fallbackText)
OpenmrsMessageTag. They may enclose passed in resolvedText with HTML span tags, for example.resolvedText - the resolved message string to be customizedcode - the code (key) used when looking up the messagelocale - the locale of the fallback message text provided by the tagfallbackText - the fallback text provided by tag if given code is not specified or can not be resolvedCopyright © 2018 OpenMRS LLC.. All Rights Reserved.