Sun Identity Manager Deployment Guide

Message Catalog Format

In the WPMessages.properties file, entries are defined in the format KeyName=MessageText. In a customized message catalog, each entry is specified in a separate Msg element. The KeyName is specified in the id attribute, while the MessageText is text between the <Msg> and </Msg> tags. The following example illustrates a message catalog entry:

<Msg id=’UI_REMEMBER_PASSWORD’>Remember to set your password.</Msg>

The message text can contain HTML tags to control how the text is rendered, although this is not recommended. If you need to use HTML tags, use codes such as &lt; and &gt; instead symbols such as < and >.

Message text can also contain variables for data that Identity Manager will insert into the string when the string is displayed. The following example is the default message for the AR_CORRELATED_USER key:

Correlated account with user {0}.

The rendered version could appear as

Correlated account with user jdoe.