<%@ page contentType="text/html;charset=UTF-8" %> <%@ page import="com.kingdee.eas.cp.common.web.util.WebContextUtil"%> <%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %> var appletExpMsgBox = new WebMsgDialog("<%= WebContextUtil.getPortalContextPath(request) %>"); var exps = new Array(); exps["INVALID_URL"]=""; exps["INVALID_EAS_JNLP"]=""; exps["EAS_JNLP_DOWNLOAD_FAILS"]=""; exps["EAS_JNLP_SAVE_FAILS"]=""; exps["INVALID_SERVICE_PROVIDER"]=""; exps["ACTION_PEFORM_FAILS"]=""; exps["APPLET_INIT_FAILS"]=""; exps["APPLET_INIT_FAILS_HELP"]=""; function handleAppletException(resxItemKey,errMsg) { try { swapAppletInitFailText(); appletExpMsgBox.showIndexMessageBox(appletExpMsgBox.TYPE_NOTICE,exps[resxItemKey],errMsg); } catch(e) { //let applet go on running... //ignore } } //function setLogined(sessionId){ // var form = top.LoginFrame.document.EasForm ; // form.easSessionId.value = sessionId; //} function swapAppletInitFailText() { var initFailText = exps["APPLET_INIT_FAILS_HELP"]; if(typeof(DownloadingTextLayer) !="undefined") DownloadingTextLayer.innerHTML = initFailText ; if(typeof(top.ContentFrame.loginProcceBarID) != "undefined") top.ContentFrame.loginProcceBarID.innerHTML = ""+initFailText +""; }