123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
- <%
- String path = request.getContextPath();
- String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
- %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <link type="text/css" rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css"/>
- <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
- <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
- <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
- <script type="text/javascript" src="<%=basePath %>resource/ux/grid/GridHeaderFilters.js"></script>
- <script type="text/javascript" src="<%=basePath %>resource/ux/data/PagingMemoryProxy.js"></script>
- <script type="text/javascript" src="<%=basePath %>resource/ux/grid/Export.js"></script>
- <script type="text/javascript">
- Ext.Loader.setConfig({
- enabled: true
- });//开启动态加载
- Ext.application({
- name: 'erp',//为应用程序起一个名字,相当于命名空间
- appFolder: basePath+'app',//app文件夹所在路径
- controllers: [//声明所用到的控制层
- 'oa.persontask.myAgenda.AgQuery'
- ],
- launch: function() {
- Ext.create('erp.view.oa.persontask.myAgenda.agQuery.Viewport');//创建视图
- }
- });
- var page = 1;
- var height = window.innerHeight;
- if(Ext.isIE){//ie不支持window.innerHeight;document.documentElement.clientHeight == 0
- height = screen.height*0.75;
- }
- var pageSize = parseInt(height*0.7/28);
- var pageSize = 13;
- var dataCount = 0;
- var url = '';
- var msg = '';
- //var caller = getUrlParam('whoami');
- var caller = 'Agenda!AgendaQuery';
- </script>
- </head>
- <body>
- </body>
- </html>
|