1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <%@ 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.listmodel.xmlmodel.impl.FormListImpl,
- com.sysmodel.datamodel.xmlmodel.ModelFactory,
- com.sysmodel.datamodel.xmlmodel.able.SysModel"%>
- <%
- request.setCharacterEncoding("GBK");
- List list = XFormFactory.getXFormModel().getFormLists();
- String moduleType = request.getParameter("type") == null? "" :request.getParameter("type");
- if(request.getParameter("type") == null){
- list = XFormFactory.getXFormModel().getFormLists();
- }else{
- list = XFormFactory.getXFormModel().getFormListByType(moduleType);
- }
- %>
- <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=pageList.<%=moduleType%>";
- var treeCloseImg = "plus.gif";
- var treeOpenImg = "minus.gif";
- parent.frames["confTreeFrame"].refreshNode('pageList.<%=moduleType%>');
- <%}%>
- </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>刷新间隔</td>
- <td>列表所占宽度</td>
- <td>所属模块</td>
- <td>删除</td>
- </tr>
- <%
- SysModel sysmodel = ModelFactory.getSysmodel();
- FormListImpl FormList = new FormListImpl();
- for (int i = 0; i < list.size(); i++) {
- FormList = (FormListImpl) list.get(i);
- %>
- <tr>
- <td><%=i + 1 %></td>
- <td><%=FormList.getListid() %></td>
- <td><%=FormList.getDescription()%></td>
- <td><%=FormList.getRefreshTime()%></td>
- <td><%=FormList.getListWidth()%></td>
- <td><%=sysmodel.getMdpModuleByCode(FormList.getType()).getName()%></td>
- <td><a href ="editExc.jsp?listid=<%=FormList.getListid() %>&action=del">删除</a></td>
- </tr>
- <%}%>
- </table>
- </div>
- </div>
- </div>
- </BODY>
- </HTML>
|