[SOLVED] Network Errors Dialogs.

Answered Closed
0
0

 

 

Please consider that the message can be changed dynamically…

 

Internet Error… or any network error message… If I like to use a personal message like…

 

“Ups!, Tu Conexión de internet está mal”,

“Por favor verifica”,

 

Etc.

  • You must to post comments
Best Answer
0
0

Hi Michael,

You can use any text or dynamic text or action simply by overriding Wisej.onNetworkError in Default.html (or in a javascript .js file added to Default.html or as an embedded resource):

 <script>
   Wisej.onNetworkError = function (type, error) {

      // your custom code goes here.
      alert(type + ": " + error);
   }
 </script>

 

Network errors cannot be processed by the server by definition. At the most we can preload localized text, but this kind of low level errors are much better handled on the client.

Best,

Luca

  • You must to post comments
Showing 1 result