123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <%@ page pageEncoding="UTF-8"%>
- <%@ page contentType="text/html; charset=UTF-8" language="java" %>
- <%@ page
- import ="java.util.*"%>
- <%@ page language="java"
- import="com.sysmodel.XFormFactory,
- com.sysmodel.collectmodel.xmlmodel.impl.FormCollectionImpl,
- com.sysmodel.datamodel.xmlmodel.ModelFactory,
- com.sysmodel.datamodel.xmlmodel.able.SysModel"%>
- <%
- request.setCharacterEncoding("GBK");
- List list = XFormFactory.getXFormModel().getFormCollections();
- String type =request.getParameter("type") == null ? "" : request.getParameter("type");
- if(type.equals("")){
- list = XFormFactory.getXFormModel().getFormCollections();
- }else{
- list = XFormFactory.getXFormModel().getFormCollectionsByType(type);
- }
- %>
- <HTML>
- <HEAD>
- <TITLE></TITLE>
- <META http-equiv="Content-Type" content="text/html; charset=GB2312">
- <link rel="stylesheet" href="../../../styles/css.css" type="text/css">
- <LINK rel="stylesheet" href="../../../styles/sortabletable.css" type="text/css">
- <script type="text/javascript">
- <%
- String refreshNode = request.getParameter("refreshNode") == null ? "" : request.getParameter("refreshNode");
- if(!refreshNode.equals("")){%>
- var loadTip = "<div>数据装载中,请稍候...</div>";
- var treeImagePath = "<%=request.getContextPath()%>/images/tree_images/";
- var url = "<%=request.getContextPath()%>/admin/menu/divTreeService.jsp?nodeID=pageCollection.<%=type%>";
- var treeCloseImg = "plus.gif";
- var treeOpenImg = "minus.gif";
- parent.frames["confTreeFrame"].refreshNode('pageCollection.<%=type%>');
- <%}%>
- </script>
-
- </HEAD>
- <body>
- <div id=total>
- <div class="whiteborder">
- <div class="titback">
- <div class="floatleft"><img src="../../../images/index/arrow1.gif" width="20" height="24"/></div>
- <div class="dropshadow">采集页面配置</div>
- <div class="clear"></div>
- </div>
- <div class="report">
- <table align="center" id="SortTable512_1" width="100%" cellpadding="1" cellspacing="1" class="ltab2">
- <tr class="TableBgColorBlack">
- <td width="28"> </td>
- <td>编号</td>
- <td>采集标题</td>
- <td>页面提交ENCTYPE</td>
- <td>动作Action</td>
- <td>操作表</td>
- <td>所属模块</td>
- <td>删除</td>
- </tr>
- <%
- SysModel sysmodel = ModelFactory.getSysmodel();
- FormCollectionImpl FormCollection = new FormCollectionImpl();
- for (int i = 0; i < list.size(); i++) {
- FormCollection = (FormCollectionImpl) list.get(i);
- String pageTitle = "";
- if(FormCollection.getPageHead() != null){
- pageTitle = FormCollection.getPageHead().getPageTitle() ;
- }
-
-
- %>
- <tr>
- <td><%=i + 1 %></td>
- <td><%=FormCollection.getPageid() %></td>
- <td><%=pageTitle%></td>
- <td><%=FormCollection.getEnctype()%></td>
- <td><%=FormCollection.getAction() %></td>
- <td><%=FormCollection.getClassid()%></td>
- <td><%=sysmodel.getMdpModuleByCode(FormCollection.getType()).getName()%></td>
- <td><a href="editExc.jsp?Action=del&pagid=<%= FormCollection.getPageid()%>">删除</a></td>
- </tr>
- <%}%>
- </table>
- <!-- div class="btmbox"><input type="button" class="button" onClick="location.href='config/config.jsp?action=0'" value="添加"></div>-->
- </div>
- </div>
- </div>
- </BODY>
- </HTML>
|