seeAgenda.jsp.svn-base 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <%
  4. String path = request.getContextPath();
  5. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  6. %>
  7. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  8. <html>
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  11. <link type="text/css" rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css"/>
  12. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  13. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  14. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  15. <script type="text/javascript">
  16. Ext.Loader.setConfig({
  17. enabled: true
  18. });//开启动态加载
  19. Ext.application({
  20. name: 'erp',//为应用程序起一个名字,相当于命名空间
  21. appFolder: basePath+'app',//app文件夹所在路径
  22. controllers: [//声明所用到的控制层
  23. 'oa.persontask.myAgenda.SeeAgenda'
  24. ],
  25. launch: function() {
  26. Ext.create('erp.view.oa.persontask.myAgenda.SeeAgenda');//创建视图
  27. }
  28. });
  29. var height = window.innerHeight;
  30. if(Ext.isIE){
  31. height = screen.height*0.75;
  32. }
  33. </script>
  34. </head>
  35. <body>
  36. </body>
  37. </html>