zoukankan      html  css  js  c++  java
  • Aras SP9里打开自己写的网页。

    首先把自己写的网页挂在IIS里或者网站挂到IIS里面。

    然后再Aras里新增method

    //网页参数
    var dialogArguments = new Array();
    //窗体参数
    var options={
        dialogWidth:800,
        dialogHeight:600,
        dialogtop:0,
        dialogleft:0
    } 
    var callbacks = function(dialog){
    var res = dialog.result;
    if(!res){
        return;
    }else{
        var itm = top.aras.getItemById(strType, strId , 0);
        top.aras.uiShowItemEx(itm, undefined, true);
        top.onRefresh();
    }
    }
    var urlBase = parent.aras.getBaseURL();
    var mainWindow = top.aras.getMainWindow();
    top.aras.modalDialogHelper.show('DefaultPopup', mainWindow.main, dialogArguments, options, "http://192.168.149.135/WebAras/WebForm1.aspx", callbacks);
    //指定自己的網頁位置
    //callbacks 回應訊息動作
    //options 視窗參數
    //dialogArguments 網頁參數        

     小知识:若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 Web 应用程序根目录下的“web.config”配置文件中创建一个 <customErrors> 标记。

    然后应将此 <customErrors> 标记的“mode”特性设置为"ReadOnly"

    注释: 通过修改应用程序的 <customErrors> 配置标记的“defaultRedirect”特性,使之指向自定义错误页的 URL,可以用自定义错误页替换所看到的当前错误页。

  • 相关阅读:
    14、迭代器协议、生成器、装饰器
    13、文件处理
    12、内置函数
    11、函数(def)
    10、基本数据类型(set)
    9、循环语句
    8、基本数据类型(dict)
    7、基本数据类型(tuple)
    6、基本数据类型(list)
    5、基本数据类型(str)
  • 原文地址:https://www.cnblogs.com/OraCursor/p/8759468.html
Copyright © 2011-2022 走看看