Before creating your site, it is advised to read the documentation:Before beginning.
This function is used to modify the messages used by the XTEND server.
The messages are different from those sent by the X3 actions via call up of the sub-programs 'ADDMESSERR'.
The Web messages are managed by the XTEND engine and sent when the engine notices a error in processing or access rights.
The XTEND messages are processed as the X3 application messages and are integrated in the translation process.
Use syntax below to add setups in the messages:
Value of setup no.1={1} - Value of setup no.2={2}
All messages whose code begins with 'A' are messages of the XTEND engine.
You can modify these messages by asociating them with another chapter in which the new texts have been entered by keeping the setups.
Code | Parameters | Description |
AERRACCESSDENIED | None | Access to a protected page not authorized |
AERRACCESSPROFDENIED | None | Access to a protected page not authorized for this profile |
AERRACTION | CodeAction | Error in an action processing |
AERRCRITMANDATORY | Name of criteria | Mandatory criteria not entered |
AERRDATA | Interface code | Error during an 'Access to data' |
AERRJAVA |
| Java exception |
AERRPAGE | Page code | Eror while reading or parsing the tokens in the HTML page |
AERRPROTOCOL | Page code | Code page http protocol mandatory to read this page |
AJSWEBFLDBADVAL | None | Control of the values of mandatory Web fields |
AJSWEBFLDMANDAT | None | Control of mandatory Web fields |
ASESSLOGIN1 | None | Welcome message of the login page if user not logged in |
ASESSLOGIN2 | None | Welcome message of the login page if user logged in |
ASESSLOGINKO | None | Login message KO |
ASESSLOGINOK | None | Login message OK |
ASESSLOGOUT | None | No Logout message |
ASESSRESTORED | None | Indicates that the session has been restored after closing/opening the browser |
ASESSLOGRESTORED | None | identical ASESSRESTORED for a logged in user |
ASESSTIMEOUT | None | Relogin request if the inactivity delay of the session is inactivity delay (user logged in) |
ASESSTRACESET | None | Activation/Deactivation of the log file |
User messages are displayed via the token AXUSERMSG.
For example:
<span id="userMsg" class="userMsg" adx="aMsgUser"></span>
In order to display a message that is no XTEND engine message, call up JavaScript function xtdAlert(aId,aP1,aP2,aP3,aP4) from the HTML page.
Function xtdAlert requests the message to the XTEND server via an AJAX request.
This may happen during the control of a HTML form for instance.
<script>
function xtdAlert(aId,aP1,aP2,aP3,aP4);
// The following example displays
// 'You are connected to the application with DIS001 use code'
xtdAlert("ASESSLOGIN2","DIS001");
</script>
Fields
The following fields are present on this tab :
Block number 1
| Code of the message |
| Current Web site |
| [object Object] |
Type of message
| This optional information is used to sort messages by category. |
Location
| Identifier of the local menu containing the message. |
|   |
| Select a number (index in local menu). The XTEND message can be formed of two messages coming form the local menu. |
Message
|   |
Close
By default, the following reports are associated with this function :
PRTSCR : Screen print
This can be changed using a different setup.
This button is used to copy a Web message |