I use seam 2 with javscript remote object and it works fine but I wonder how to handle if the server is unavaible. Currently it display an 503 error on a javascript popup, which is quite awful.
i tried
try {
var remoteObject= Seam.Component.getInstance("remoteObject");
if(remoteObject){
sessionChecker.remoteFunction(parameter, functionCallBack);
}else{
alert('error');
}
} catch(err) {
alert('error');
}
but without success -> still the annoying default popup.