An Error Message is a XVW component that's used to alert the user when something is wrong or not coherent.
ALERT
POPUP_MESSAGE
MESSAGE
XML Definition
Not applicable BUT the tag below needs to be present in the viewer or the messages won't be shown (not needed for edit viewer).
<xvw:errorMessages/>
Java Bean Definition
An Error Message is declared as following:
XUIRequestContext.getCurrentContext().addMessage(STRING_CLIENT_ID, new XUIMessage(INT_MESSAGE_TYPE, INT_MESSAGE_SEVERITY, STRING_MESSAGE_TITLE, STRING_MESSAGE_BODY));
Note:
STRING_CLIENT_ID = Any identifier for the XUI Message
INT_MESSAGE_TYPE = XUIMessage.TYPE_ALERT or XUIMessage.TYPE_MESSAGE or XUIMessage.TYPE_POPUP_MESSAGE
INT_MESSAGE_SEVERITY = XUIMessage.SEVERITY_INFO or XUIMessage.SEVERITY_CRITICAL or XUIMessage.SEVERITY_ERROR or XUIMessage.SEVERITY_WARNING
STRING_MESSAGE_TITLE = The message title
STRING_MESSAGE_BODY = The message body
Component from which the Error Messages Extends
Components that Extend Error Messages
Error Messages Properties
Property | Description | Requirement | Default Value | Type | Example![]() |
---|---|---|---|---|---|
lastRequestWasChanged | -COMPLETE | optional | -false | EL/Boolean |
Possible Child Components:
I | Attachment | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|
![]() |
Screen_shot_2010-08-23_at_2.18.55_PM.png | manage | 13.3 K | 2010-08-23 - 14:19 | JoaoQuintas | Error Message Info |
![]() |
Screen_shot_2010-08-23_at_2.21.13_PM.png | manage | 9.5 K | 2010-08-23 - 14:23 | JoaoQuintas | Error Message Message Alert |
![]() |
Screen_shot_2010-08-23_at_2.23.53_PM.png | manage | 8.0 K | 2010-08-23 - 14:24 | JoaoQuintas | |
![]() |
Screen_shot_2010-08-23_at_2.26.47_PM.png | manage | 7.9 K | 2010-08-23 - 14:27 | JoaoQuintas |
No permission to view TWiki.WebTopBar