JMap.Application.Message.closeWaitingOverlay
Close all overlay messages or just one.
If no overlay is displayed, do nothing.
the message to close
JMap.Application.Message.confirmMessage
Prompts a confirmation dialog message on the screen.
The onSuccess callback is called when the user clicked "confirm" button.
If it's an input confirm message, the onSuccess will get the input, else an empty string.
The optional onCancel callback is called when the cancel button is clicked.
message parameters
JMap.Application.Message.display
Adds an generic message in the application message stack for the current session. severity level should be passed (will default to "info")
the text of the message
a JAppMessageOptions object
JMap.Application.Message.displayWaitingOverlay
Opens an overlay panel that displays your message and a loading bar.
User cannot hide or close this overlay, it aims to avoid user interactions while you are doing an async processing.
If overlay is already displaying a previous message, it will display only the new message and hide the previous message (until you close the new message).
Overlay is displayed all the time until you call the method JMap.Application.Message.closeWaitingOverlay.
This method is used to close one or more messages:
the message to display
the message id, usefull when you display multiple messages at the same time, but want to close only one.
JMap.Application.Message.error
Adds an error message in the application message stack for the current session.
the text of the message
a JAppMessageOptions object
JMap.Application.Message.info
Adds an info message in the application message stack for the current session.
the text of the message
a JAppMessageOptions object
JMap.Application.Message.success
Adds an success message in the application message stack for the current session.
the text of the message
a JAppMessageOptions object
JMap.Application.Message.warning
Adds an warning message in the application message stack for the current session.
the text of the message
a JAppMessageOptions object
JMap.Application.Message
You can manage the application Messages here.