Home | Trees | Indices | Help |
|
---|
|
object --+ | SystemMessages --+ | CustomizedSystemMessages
Contains the system messages used to notify the user about various critical situations that can occur.
Muntjac gets the SystemMessages from your application by calling a static getSystemMessages() method. By default the Application.getSystemMessages() is used. You can customize this by defining a static MyApplication.getSystemMessages() and returning CustomizedSystemMessages. Note that getSystemMessages() is static - changing the system messages will by default change the message for all users of the application.
The default behavior is to show a notification, and restart the application the the user clicks the message.
Instead of restarting the application, you can set a specific URL that the user is taken to.
Setting both caption and message to null will restart the application (or go to the specified URL) without displaying a notification. set*NotificationEnabled(false) will achieve the same thing.
The situations are:
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Sets the URL to go to when the session has expired.
|
Enables or disables the notification. If disabled, the set URL (or current) is loaded directly when next transaction between server and client happens.
|
Sets the caption of the notification. Set to null for no caption. If both caption and message are null, client automatically forwards to sessionExpiredUrl after timeout timer expires. Timer uses value read from HTTPSession.getMaxInactiveInterval()
|
Sets the message of the notification. Set to null for no message. If both caption and message are null, client automatically forwards to sessionExpiredUrl after timeout timer expires. Timer uses value read from HTTPSession.getMaxInactiveInterval()
|
Sets the URL to go to when there is a authentication error.
|
Enables or disables the notification. If disabled, the set URL (or current) is loaded directly.
|
Sets the caption of the notification. Set to null for no caption. If both caption and message is null, the notification is disabled;
|
Sets the message of the notification. Set to null for no message. If both caption and message is null, the notification is disabled;
|
Sets the URL to go to when there is a communication error.
|
Enables or disables the notification. If disabled, the set URL (or current) is loaded directly.
|
Sets the caption of the notification. Set to null for no caption. If both caption and message is null, the notification is disabled;
|
Sets the message of the notification. Set to null for no message. If both caption and message is null, the notification is disabled;
|
Sets the URL to go to when an internal error occurs.
|
Enables or disables the notification. If disabled, the set URL (or current) is loaded directly.
|
Sets the caption of the notification. Set to null for no caption. If both caption and message is null, the notification is disabled;
|
Sets the message of the notification. Set to null for no message. If both caption and message is null, the notification is disabled;
|
Sets the URL to go to when the client is out-of-sync.
|
Enables or disables the notification. If disabled, the set URL (or current) is loaded directly.
|
Sets the caption of the notification. Set to null for no caption. If both caption and message is null, the notification is disabled;
|
Sets the message of the notification. Set to null for no message. If both caption and message is null, the notification is disabled;
|
Sets the URL to redirect to when the browser has cookies disabled.
|
Enables or disables the notification for "cookies disabled" messages. If disabled, the URL returned by getCookiesDisabledURL is loaded directly.
|
Sets the caption of the "cookies disabled" notification. Set to null for no caption. If both caption and message is null, the notification is disabled.
|
Sets the message of the "cookies disabled" notification. Set to null for no message. If both caption and message is null, the notification is disabled.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Apr 20 16:52:51 2013 | http://epydoc.sourceforge.net |