daily.jsp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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">
  8. <html>
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  11. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css" type="text/css"></link>
  12. <!--[if IE]>
  13. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-ie-scoped.css" type="text/css"></link>
  14. <![endif]-->
  15. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  16. <style type="text/css">
  17. .x-html-editor-wrap textarea {
  18. background-color: #EEE8CD;
  19. }
  20. </style>
  21. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  22. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  23. <script type="text/javascript">
  24. Ext.Loader.setConfig({
  25. enabled: true
  26. });//开启动态加载
  27. Ext.application({
  28. name: 'erp',//为应用程序起一个名字,相当于命名空间
  29. appFolder: basePath+'app',//app文件夹所在路径
  30. controllers: [//声明所用到的控制层
  31. 'oa.daily.daily'
  32. ],
  33. launch: function() {
  34. Ext.create('erp.view.oa.daily.daily');//创建视图
  35. }
  36. });
  37. var caller = 'Daily';
  38. var formCondition = '';
  39. var gridCondition = '';
  40. </script>
  41. </head>
  42. <body >
  43. </body>
  44. </html>