myMailZimlet.prototype.CheckURL =
function() {
var TxtUrl = "http://www.domain.com/server.txt";
var EncUrl = AjxStringUtil.urlComponentEncode(TxtUrl);
var pxyUrl = [ZmZimletBase.PROXY, encodedExtServerUrl].join("");
var CallBack = new AjxCallback(this, this._httpExternalGetCallback);
var myResult = AjxRpc.invoke(null, proxyServletUrl, null, CallBack, false);
if (myResult.success) {
return true;
} else {
return false;
}
}
myMailZimlet.prototype._httpExternalGetCallback =
function(response) {
if (response.success == false) {
return;
}
appCtxt.getAppController().setStatusMsg(response.t ext, ZmStatusView.LEVEL_INFO);
};