WiseJ.onException question

0
0

I am trapping the invalidSession so that I can automatically refresh the page.  I am doing this so that when I do an application update, the app will automatically reload.

When the error is not an invalid session, how to get the wiseJ error message to show??

Wisej.onException = function (ex) {
if (ex.invalidSession) {
document.getElementById(‘pnlReloading’).style.display = ”;
var tid = setTimeout(Reloading, 5000);
}
else {
//how to get the wiseJ error message to show??

}
}

 

Thanks, Shawn

  • You must to post comments
0
0

Wisej.Core.showException(ex);

You can download the full wisej.js and qx.js source code with comments like this: /resource.wx/wisej.js and /resource.wx/qx.js

HTH

/Luca

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.