iMatrix平台中如何实现标签的依赖

本文档详细介绍了如何在iMatrix平台上进行必要的配置,包括引入jar文件、设置jsp标签库、配置javascript和css资源,以及定义数据库连接参数等关键步骤。
 

      标签的依赖

1.1    项目中引入”imatrix.jar”

1.2    taglib.jsp中加入以下:

<%@taglib prefix="acsTags" uri="http://www.norteksoft.com/acs/tags"%>

<%@ taglib  prefix="menu" uri="http://www.norteksoft.com/menu/tags"%>

<%@ taglib  prefix="button" uri="http://www.norteksoft.com/button/tags"%>

<%@ taglib prefix="grid" uri="http://www.norteksoft.com/view/tags"%>

<%@ taglib  prefix="wf" uri="http://www.norteksoft.com/workflow/tags"%>

1.3    meta.jsp中加入以下:

<script type="text/javascript" src="${resourcesCtx}/widgets/jqgrid/

jqgrid-all-1.0.js"></script>

<script type="text/javascript" src="${resourcesCtx}/widgets/jqgrid/

jqGrid.custom.js"></script>

<link   type="text/css"

rel="stylesheet" href="${resourcesCtx}/widgets/

jqgrid/ui.jqgrid.css" />

<script type="text/javascript"

    src="${resourcesCtx}/js/search.js"></script>

1.4    application.properties 中加入以下

host.resources=http://192.168.1.247:8000/imatrix(静态资源路径)

mongo服务器配置:

mongo.host=192.168.1.20

mongo.port=27017

mongo.dbname=xtsfiles

mongo.username=xtsadmin

mongo.password=Password,.

当需要用mongo保存文件时才需要配,否则不用配,当不配时,applicationContext.xml中删除以下配置,否则无法启动服务

<bean id="mongoService" class="com.norteksoft.product.mongo.MongoService">

        <property name="host" value="${mongo.host}"></property>

        <property name="port" value="${mongo.port}"></property>

        <property name="dbname" value="${mongo.dbname}"></property>

        <property name="username" value="${mongo.username}"></property>

        <property name="password" value="${mongo.password}"></property>

    </bean>

列表中导出excel保存路径:

excel.export.file.path=C://ExportFile/

开发模式需要如下配置:

project.model=developing.model

host.ems=http://192.168.1.98:8081/ems

host.imatrix=http://localhost:8080/imatrix(imatrix产品路径)

产品模式配置如下:

project.model= product.model或者将该属性去掉,默认为产品模式

 

关于标签更详细的资料可以到官网下载:http://www.imatrix.net.cn

    如有使用iMatrix平台问题请登录iMatrix平台论坛咨询:

    http://bbs.imatrix.net.cn/forum.php?mod=forumdisplay&fid=37

    或者加入QQ307599527

转载于:https://my.oschina.net/imatrix/blog/268914

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值