|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.i18n.TemplateMessagesUtil
public final class TemplateMessagesUtil
This class helps to get the messages used in templates (paragraphs, dialogs, ..). First it make a lookup in
messages_templating_custom and then in messages_templating..
If a string is not found it returns directly the key without ?
This class is deprecated use the fallBackMessages property of the Message class to make chains.
Field Summary | |
---|---|
static String |
CUSTOM_BASENAME
Deprecated. Name of the custom basename. |
static String |
DEFAULT_BASENAME
Deprecated. Use this basename if the string is not found in the custom basename. |
Method Summary | |
---|---|
static Messages |
getMessages()
Deprecated. Get the messages for the templates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_BASENAME
public static final String CUSTOM_BASENAME
Method Detail |
---|
public static Messages getMessages()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |