...
...
Description
Messages provides useful information for an exception, warning or information. (expected values, actual value, missing data, etc).
...
|
In this metadata file you can define the message texts and map an error message to a Java exception. |
Attributes
Name | Description | Value |
---|
code | the The exception class path that corresponds to the message. | Any of the exception classes |
expression | A glossary key that corresponds to the expression as to be displayed on the screen | Any glossary key |
description | the The description of the message as displayed on the screen. | Any |
...
Example
Expand |
---|
|
Code Block |
---|
theme | Eclipse |
---|
language | xml |
---|
title | Messages |
---|
| <messageconfig> |
...
<message>
<code>COM.CRM.EXCEPTION. | PRIMARYFIELDEXCEPTION<CANNOTDELETEACTIVEEXCEPTION</code>
| <expression>Cannot delete the default record.<<expression>key_com_crm_exception_cannotdeleteactiveexception</expression>
| <description>Cannotdeletedefault.</description>
</message>
<message>
<code>COM.CRM.EXCEPTION.MANDATORYFIELDEXCEPTION</code>
<expression>Please specify %1.</expression>
<description>A mandatory field is not specified because it is marked as active.</description>
</message> |
|