首先通过相关的功能注册注册相关的注册文件,然后,编写相关的配置文件,还有相关的Action类,该类继承NCaction类。
xml文件如下,action类参看原配置文件的其他它级别类。
<?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">
<!--出库单车辆GPS位置信息 -->
<bean class="nc.ui.pubapp.plugin.action.InsertActionInfo">
<property name="actionContainer" ref="actionsOfList" />
<property name="actionType" value="notedit" />
<property name="target" ref="printActionGroup" />
<property