info.magnolia.cms.i18n
Class TemplateMessagesUtil

java.lang.Object
  extended by info.magnolia.cms.i18n.TemplateMessagesUtil

Deprecated. officially since 4.0 - informally since 3.0

public final class TemplateMessagesUtil
extends Object

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

DEFAULT_BASENAME

public static final String DEFAULT_BASENAME
Deprecated. 
Use this basename if the string is not found in the custom basename.

See Also:
Constant Field Values

CUSTOM_BASENAME

public static final String CUSTOM_BASENAME
Deprecated. 
Name of the custom basename.

See Also:
Constant Field Values
Method Detail

getMessages

public static Messages getMessages()
Deprecated. 
Get the messages for the templates.

Returns:


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.