• eas之界面之间传递参数



    1.收集父界面要传递给予界面的参数集
    HashMap map=new HashMap();
    map.put("Owner",this);//必须,被启动UI的父UI对象
    map.put("EASMode",new Integer(this.EASMode));
    map.put("tale",this.accountTablePromptBox.getData());
    map.put("cu",currentCtrlUnit());
    map.put("auxAccount",this.asstAccountPrpmptBox.getData());
    IUIFactory uiFactory=null;
    uiFactory=UIFactory.createUIFactory("com.kingdee.eas.base.uiframe.client.UIModeDialogFactory");

    以模态对话框方式启动
    IUIWindow uiWindow=uiFactorycreate("com.kingdee.eas.basedata.master.auxacct.client.AccountSelectUI");
    uiWindow.show();

    2.在子界面获取传递下来的数据
    private void loadContext(){
    int mode=(Integer)this.getUiContext().get("EASMode").intValue();
    AccountTableInfo accountTableInfo()=(AccountTableInfo)this.getUIContext().get("table");
    CtrlUnitInfo cuInfo=(CtrlUnitInfo)this.getUIContext().get("cu");
    AsstAccountInfo assAccoutnInfo=this.getUIContext().get("auxAccount");
    AuxAccounteditUI ui=(AuxAccountEditUI)this.getUIContext().get("Owner");
    }

  • 相关阅读:
    Linux服务器远程ssh为centos7安装MySQL
    MyBatis配置文件模版
    强烈推荐Spring MVC初学好文章
    Servlet生成验证码
    Mac OS 配置环境变量
    Spring MVC pom.xml
    Manve阿里云仓库
    CentOS7.X怎样更新yum源
    django 登录
    django 接收 post请求
  • 原文地址:https://www.cnblogs.com/luojiabao/p/11091682.html
Copyright © 2020-2023  润新知