12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <%@ page pageEncoding="UTF-8"%>
- <%@ page contentType="text/html; charset=UTF-8" language="java" %>
- <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=template";
- var treeCloseImg = "plus.gif";
- var treeOpenImg = "minus.gif";
- parent.frames["confTreeFrame"].refreshNode('template');
- <%}%>
- </script>
- <link rel="stylesheet" href="../../../../../scripts/ext20/resources/css/ext-all.css" type="text/css"></link>
- <script type="text/javascript" src="../../../../../scripts/ext20/adapter/ext/ext-base.js"></script>
- <script type="text/javascript" src="../../../../../scripts/ext20/ext-all.js"></script>
- <SCRIPT LANGUAGE="JavaScript">
- Ext.onReady(function(){
- function toggleDetails(btn, pressed){
- var view = grid.getView();
- view.showPreview = pressed;
- view.refresh();
- }
-
-
- var ds= new Ext.data.Store({
- proxy: new Ext.data.ScriptTagProxy({url:'listCols.jsp'}),
-
- reader: new Ext.data.JsonReader( {root:'root'},
- [{name: 'Name'},
- {name: 'Description'},
- {name: 'del'}
- ])});
-
- var cm=new Ext.grid.ColumnModel(
- [ new Ext.grid.RowNumberer(),
- {header: '模板名称', dataIndex: 'Name', sortable: true},
- {header: '模板描述', dataIndex: 'Description'},
- {header: 'del', dataIndex: 'del'}
- ]);
-
- var grid=new Ext.grid.GridPanel({el:'report',ds:ds,cm:cm,
- width:740,
- height:545,
- title:'常量模版',
- store: ds
- });
- grid.render();
- ds.load({params:{start:1, limit:2}});
- });
- </SCRIPT>
- </HEAD>
- <body>
- <div id="report">
- </div>
- </BODY>
- </HTML>
|