24.10. The Loading Message

You can modify, define custom rendering for, or even remove the default loading message that appears in the top right corner of the screen.

24.10.1. Changing the message

To change the message from the default "Please Wait...", set the value of Seam.Remoting.loadingMessage:
Seam.Remoting.loadingMessage = "Loading...";

24.10.2. Hiding the loading message

To completely suppress the display of the loading message, override the implementation of displayLoadingMessage() and hideLoadingMessage() with actionless functions:
// don't display the loading indicator
Seam.Remoting.displayLoadingMessage = function() {};
Seam.Remoting.hideLoadingMessage = function() {};

24.10.3. A Custom Loading Indicator

It is also possible to override the loading indicator to display an animated icon, or anything else that you want. To do so, override the displayLoadingMessage() and hideLoadingMessage() messages with your own implementations:
  Seam.Remoting.displayLoadingMessage = function() {
	// Write code here to display the indicator
};
		  
Seam.Remoting.hideLoadingMessage = function() {
	// Write code here to hide the indicator
};