




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
环境准 数据库检 开发者设 扩展开 实体扩 增量扩展实体文 扩展实体字 扩展子实 设计包含扩展实体的单据模 功能节点默认模板设 前台扩 按钮扩 UI扩 扩 编写与业务逻辑扩 效果展 附 全部UI说 平台业务扩展示 注意事 UAPUAP—PAGE10extcasetrain_63extcase1.环境准备在2.扩展开发打开uapmdp,如下图红框所在sourcefile框中选择,train模块下的quotation.bmf,如下图所点击[增量实体开发组件]的确定后,创建的quotatioin_301.bmf文件如下下图所示,其中301是伙伴级开发的编码代号(名称:nc.vo.extend.entity.ExtBVO_301ExtBVO_301缺省表名:左键选中扩展的子实体,点击右键选择[生成javaAdmin用户登录系统,通过[应用管理平台]->[开发配置工具]->[系统管理工具]->[单在单据模板中输入ext,在点击显示模板,因为没有此模板,所以增加就会可用,点击输入页签编码:bodyExtTab,页签名称为:费用信息Admin用户登录系统,通过[应用管理平台]->[开发配置工具]->[系统管理工具]->[功billFormEditor中注入了bt<propertyname="nodekey"><value>bt</value></property>此处的标识需要填写为bt.本文档是对销售报价单进行扩展,而销售报价单的类是:nc.ui.pubapp.uif2app.ToftPanelAdaptorEx,所以应该按照PubApp的方式进行扩展配置,extcase项目已经提供了pubapp_ext_config.xml配置文件,学员仅仅需要扩展此文件即可。如下图所示,此文件包含了按钮和的扩展,我们可以此文件拷贝为pubapp_ext_config1.xml销售报价单进行的按钮扩展,所以我们扩展的xml配置文件,是train_63的配置文件<?xmlversion="1.0"encoding="UTF-<!DOCTYPEbeansPUBLIC"-//SPRING//DTD <!--把报价单列表界面非编辑态的【刷新】按钮替换为【附件管理】按 <bean <propertyname="actionContainer"ref="xxxx"<propertyname="actionType"value="xxxx"<propertyname="target"ref="xxxx"<propertyname="action"ref="xxxx"<beanid="docManageAction"<propertyname="model"ref="manageAppModel"<bean<propertyname="actionContainer"ref="xxxx"<propertyname="actionType"value="xxxx"<propertyname="target"ref="xxxx"<propertyname="pos"value="xxxx"<propertyname="action"ref="xxxx"<beanid="chooseFileAction"<propertyname="model"ref="manageAppModel" 【保存】按钮配置--><bean<propertyname="target"ref="xxxx"<propertyname="interceptor"ref="xxxx"<beanid="interceptorForFile"<propertyname="billForm"ref="billFormEditor"<propertyname="chooseAction"ref="chooseFileAction"<!--把报价单列表界面非编辑态的【刷新】按钮替换为【附件管理】按钮-<bean <propertyname="actionContainer"ref="actionsOfList"<propertyname="actionType"value="notedit"<propertyname=<!--把报价单列表界面非编辑态的【刷新】按钮替换为【附件管理】按钮-<bean <propertyname="actionContainer"ref="actionsOfList"<propertyname="actionType"value="notedit"<propertyname="target"ref="refreshAction"<propertyname="action"ref="docManageAction"<beanid="docManageAction"<<propertyname="model"ref="manageAppModel" 修改pubapp_ext_config1.xml的InsertActionInfo动作,修改如红色<!--在报价单卡片界面编辑态的【保存】按钮前增加【选择附件】按钮-<!--在报价单卡片界面编辑态的【保存】按钮前增加【选择附件】按钮-<bean<propertyname="actionContainer"ref="actionsOfCard"<propertyname="actionType"value="edit"<propertyname="target"ref="saveAction"<propertyname="pos"value="before"<propertyname="action"ref="chooseFileAction"<beanid="chooseFileAction"<<propertyname="model"ref="manageAppModel" 修改pubapp_ext_config1.xml的ActionInterceptorInfo动作,修改如红色部<!-<!-【保存】按钮配置--><bean<propertyname="target"ref="saveAction"<propertyname="interceptor"ref="interceptorForFile"<beanid="interceptorForFile"<propertyname="billForm"ref="billFormEditor"<propertyname="chooseAction"ref="chooseFileAction"通过[应用管理平台]->[开发配置工具]->[系统管理工具]->[功能]打开功能名称是PluginBeanConfigFilePath,保存后效果展UI扩pubapp_ext_config2.xml销售报价单进行的UI扩展,所以我们扩展的xml配置文件,是train_61的配置文件<?<?xmlversion="1.0"encoding="UTF-<!DOCTYPEbeansPUBLIC"-//SPRING//DTD <bean<propertyname="model"ref="manageAppModel"<property<propertyname="event"value="xxxx"<property<beanclass="xxxx"<!--表体编辑前<propertyname="event"value="xxxx"<property<bean<!--表体编辑 <propertyname="event"value="xxxx"<property<bean<!--卡片表体汇总计 <propertyname="event"value="xxxx"<property<<bean<propertyname="billForm"UI扩<beanid="eventMediator"<propertyname="model"ref<beanid="eventMediator"<propertyname="model"ref="manageAppModel"<property<!--表体字段编辑 <propertyvalue="nc.ui.pubapp.uif2app.event.card.CardBodyBeforeEditEvent"<propertyname="picky"ref="childrenPicky"<propertyclass="nc.ui.train.quotation.ace.handler.AceBodyBeforeEditHandler"/><!--表体字段编辑 <propertyvalue="nc.ui.pubapp.uif2app.event.card.CardBodyAfterEditEvent"<propertyname="picky"ref="childrenPicky"<propertyclass="nc.ui.train.quotation.ace.handler.AceBodyAfterEditHandler"<!--表头表尾字段编辑 <propertyvalue="nc.ui.pubapp.uif2app.event.card.CardHeadTailBeforeEditEvent"<propertyclass="nc.ui.train.quotation.ace.handler.AceHeadTailBeforeEditHandler"<!--表头表尾字段编辑 <propertyvalue="nc.ui.pubapp.uif2app.event.card.CardHeadTailAfterEditEvent"<propertyclass="nc.ui.train.quotation.ace.handler.AceHeadTailAfterEditHandler"<!--新 <property<propertyclass="nc.ui.train.quotation.ace.handler.AceAddHandler"/><!--组织改 <propertyname="event"<property<constructor-argref="billFormEditor"Quotation_config.xmlpubapp_ext_config2.xml表头表尾event类型,最后一个用的是event类型在ppt中UI类表中有说classextcase4Body听是表头表尾编辑后然后分别填写到pubapp_ext_config2.xml文件对应的相应中,注意class应该是带包名的全名UI扩展文件功名称是PluginBeanConfigFilePath_02,<?<?xmlversion="1.0"encoding="UTF-<!DOCTYPEbeansPUBLIC"-//SPRING//DTD <bean<propertyname="model"ref="manageAppModel"<property<propertyname="event"value="nc.ui.pubapp.uif2app.event.card.CardHeadTailAfterEditEvent"/><propertyclass="nc.ui.extend.pubapp.editor.head.HeadAfterEditDistribute"/><!--表体编辑 <propertyvalue="nc.ui.pubapp.uif2app.event.card.CardBodyBeforeEditEvent"<property<!--表体编辑 <propertyname="event"value="nc.ui.pubapp.uif2app.event.card.CardBodyAfterEditEvent"/><property<!--卡片表体汇总计 <propertyvalue="nc.ui.pubapp.uif2app.event.card.CardBodyTotalEvent"<property<propertyname="billForm"insertintopub_pluginitem(dr,industrytypeinsertintopub_pluginitem(dr,industrytype,iorder,localtype,pk_pluginitem,ts,vcomponentname,vdescription,veventtype,vextendmodule,vextendpointname,vextendtype,vmodulename,vruleclass,vtargetclass)values(0,'0',1,'','trainapprove_before1','2009-10-14 8:51:28','bill','','addBefore','train',insertintopub_pluginitem(dr,industrytype,iorder,localtype,pk_pluginitem,ts,vcomponentname
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 奖学金申请书格式
- 2025至2031年中国硅酸钾溶液行业投资前景及策略咨询研究报告
- 初中校长述职报告范文
- 保密协议书模板
- l临时用工合同范本
- 车子过户合同(2篇)
- 企业手机合同范本
- 合同范本审查内容
- 补办身份证申请书范文
- 县路灯工程合同范本
- 牧童谣课件教学
- 大学物理实验(绪论)学习通超星期末考试答案章节答案2024年
- 图书出版项目合作协议
- 《现代家政导论》电子教案 2.2模块二项目二家庭制度认知
- 商务礼仪课件教学课件
- 部编版七年级历史下册全册导学案
- 酒店住宿投标方案(技术标)
- 2024风力发电叶片维保作业技术规范
- 中建分供方资源管理办法
- (人教PEP2024版)英语一年级上册Unit 3 教学课件(新教材)
- 小小演说家演讲技巧教学设计
评论
0/150
提交评论