1.编写新的xml配置
<?xml version="1.0" encoding="gbk"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<!-- 插入按钮 -->
<bean class="nc.ui.pubapp.plugin.action.InsertActionInfo">
<!-- 界面布局引入 -->
<property name="actionContainer" ref="container"></property>
<!-- 编辑状态 notedit 或 edit -->
<property name="actionType" value="notedit"></property>
<!-- 按钮目标位置 -->
<property name="target" ref="addAction"></property>
<!-- 在目标按钮的 before 或 after -->
<property name="pos" value="before"></property>
<!-- 新增的按钮 -->
<property name="action">
<bean class="nc.ui.train.bd.sendtypes.action.checkAction"></bean>
</property>
</bean>
<bean id="checkAction" class="nc.ui.train.bd.sendtypes.action.checkAction">
<property name="model" ref="manageAppModel" />
<property name="editor" ref="billFormEditor" />
</bean>
</beans>
2.实现新增按钮类,继承NCAction
如果有操作在doAction里编写
3.在功能注册-参数注册里面注入xml
名称(非行业级):PluginBeanConfigFilePath_编码
名称(行业级):PluginBeanConfigFilePath_Industry行业编码_CountryZone地区