- 修改按钮配置文件
<?xml version="1.0" encoding="GBK"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<!-- 环境变量 -->
<bean id="context" class="nc.vo.uif2.LoginContext"></bean>
<!-- 模型部分配置*********************************************************** -->
<!-- 应用服务类,负责进行模型操作的处理 -->
<bean id="bmModelModelService" class="nc.ui.proadmin.threemeetings.ace.serviceproxy.AceThreemeetingsMaintainProxy"/>
<!-- 对象转换器工厂,由此获取操作对象的特征信息 -->
<bean id="BOAdapterFactory" class="nc.vo.bd.meta.GeneralBDObjectAdapterFactory">
<property name="mode" value="MD"/>
</bean>
<!-- 层次结构构造策略 -->
<!-- 模型元素 -->
<!--========= 模型元素:[PUBAPP平面模型(BillManageModel)实例对象] ==========-->
<bean id="bmModel" class="nc.ui.pubapp.uif2app.model.BillManageModel">
<property name="context"><ref bean="context"/></property>
<property name="businessObjectAdapterFactory"><ref bean="BOAdapterFactory"/></property>
</bean>
<!-- 数据模型管理器,主要负责各种方式的模型初始化 -->
<bean id="bmModelModelDataManager" class="nc.ui.pubapp.uif2app.query2.model.ModelDataManager">
<property name="model"><ref bean="bmModel"/></property>
<property name="service"><ref bean="bmModelModelService" /></property>
</bean>
<!-- Mediator,模型之间监听关系部分 -->
<!-- 组织面板//newadd -->
<!-- 卡片界面的工具栏和返回按钮 -->
<!-- 模板容器,负责对模板的统一装载 -->
<bean id="templateContainer" class="nc.ui.pubapp.uif2app.view.TemplateContainer" init-method="load">
<property name="context" ref="context"/>
<property name="nodeKeies">
<list>
<value>bt</value>
</list>
</property>
</bean>
<!-- 界面元素 ***********************************************************-->
<!--====== 视图元素:[查询区域控件实例对象] ==============-->
<bean id="viewa" class="nc.ui.pubapp.uif2app.tangramlayout.UEQueryAreaShell" init-method="initUI">
<property name="queryAreaCreator" ref="defaultQueryAction" />
</bean>
<!--====== 视图元素:[PUBAPP列表视图控件(ShowUpableBillListView)实例对象] ==============-->
<bean id="billListView" class="nc.ui.pubapp.uif2app.view.ShowUpableBillListView" init-method="initUI">
<property name="model"><ref bean="bmModel" /></property>
<property name="nodekey" value="bt" />
<property name="multiSelectionEnable" value="false" />
<property name="templateContainer" ref="templateContainer"/>
</bean>
<!--====== 视图元素:[卡片界面工具栏和返回按钮控件实例对象] ==============-->
<bean id="viewb" class="nc.ui.pubapp.uif2app.tangramlayout.UECardLayoutToolbarPanel" >
<property name="model"><ref bean="bmModel" /></property>
<property name="titleAction">
<bean id="returnAction" class="nc.ui.pubapp.uif2app.actions.UEReturnAction">
<property name="goComponent" ref="billListView" />
<property name="saveAction" ref="saveScriptAction" />
<property name="model" ref="bmModel" />
</bean>
</property>
</bean>
<!--====== 视图元素:[PUBAPP表单控件(ShowUpableBillForm)实例对象] ==============-->
<bean id="billForm" class="nc.ui.pubapp.uif2app.view.ShowUpableBillForm" init-method="initUI">
<property name="model"><ref bean="bmModel" /></property>
<property name="nodekey" value="bt" />
</bean>
<!-- 界面布局总装*********************************************************** -->
<bean id="container" class="nc.ui.uif2.TangramContainer" init-method="initUI">
<property name="tangramLayoutRoot">
<bean class="nc.ui.uif2.tangramlayout.node.TBNode">
<property name="tabs">
<list>
<bean class="nc.ui.uif2.tangramlayout.node.HSNode">
<property name="left">
<bean class="nc.ui.uif2.tangramlayout.node.CNode">
<property name="component">
<ref bean="viewa" />
</property>
</bean>
</property>
<property name="right">
<bean class="nc.ui.uif2.tangramlayout.node.CNode">
<property name="component">
<ref bean="billListView" />
</property>
</bean>
</property>
<property name="dividerLocation" value="215.0f" />
<property name="name" value="列表" />
</bean>
<bean class="nc.ui.uif2.tangramlayout.node