Messages
Message elements are messages to show after execute one action. Usually these message are described in the hidden section of the window.
This message element is referenced from target attribute in a button action.
\
Estructura Xml
The xml structure of message element is the following:
<tag source="hidden">
<message id="[id]" title="[message-title]" message="[message-text]" />
... more messages ...
</tag>
Atributos del mensaje
Name | Tipo | Uso | Descripción | Valores |
---|---|---|---|---|
id | String | Required | Identificador de mensaje | |
title | String | Required | Is the title of message | Note: You can use i18n files (locales) |
message | String | Required | Content of message | Note: You can use i18n files (locales) |
Ejemplos
- Show a confirm message before insert new data
...
<tag source="hidden">
<message id="NewMsg" title="CONFIRM_TITLE_NEW" message="CONFIRM_MESSAGE_NEW" />
</tag>
...
<button button-type="button" label="BUTTON_CONFIRM" icon="save" id="ButCnf" help="HELP_CONFIRM_BUTTON">
<button-action type="confirm" target="NewMsg" />
<button-action type="server" server-action="maintain" target-action="UsrNew" />
</button>