<script type="text/javascript" src="${resourcesCtx}/widgets/ javascript
jstree/jquery.jstree.js"></script> php
編號:tag_tree,名稱:標籤樹資源,路徑:/portal/tree.action java
編號:tag_search_tree,名稱:標籤樹查詢資源,路徑: /portal / search -tree.action jquery
將該資源分給「普通用戶」角色 web
<filter> spring
<filter-name>struts2Filter</filter-name> apache
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class> app
</filter> url
<!-- 樹插件 --> spa
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/portal/tree.action</url-pattern>
</filter-mapping>
<!-- 樹查詢action -->
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/portal/search-tree.action</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>struts2Filter</filter-name>
<url-pattern>*.action</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
< acsTags:tree defaultable="true" multiple="true" treeType="COMPANY" treeId="companyTree"></acsTags:tree>
參數說明:
defaultable:"true/false" ,當一個頁面須要加載多個樹時,須要有一顆樹爲默認顯示的樹,若只有一顆樹則設爲」true」便可
treeId:"companyTree", 樹的id
treeType:樹的類型。
multiple:"true/false" ,多選樹/單選樹。
樹的類型以下:
COMPANY 公司樹
MAN_DEPARTMENT_GROUP_TREE 部門工做組人員樹
MAN_DEPARTMENT_TREE 部門人員樹
MAN_GROUP_TREE 工做組人員樹
DEPARTMENT_TREE 部門樹
GROUP_TREE 工做組樹
DEPARTMENT_WORKGROUP_TREE 部門工做組樹
<acsTags:tree defaultable="true" multiple="true" treeType="COMPANY"
treeId="companyTree"></acsTags:tree>
iMatrix6.0.0.RC1Demo演示登錄地址:http://demo.imatrix.net.cn:8888/imatrix
若有使用iMatrix平臺問題請登陸iMatrix平臺論壇諮詢:
http://bbs.imatrix.net.cn/forum.php?mod=forumdisplay&fid=37
或者加入QQ羣307599527