sysNavigation.jsp 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <%
  4. request.setCharacterEncoding("utf-8");
  5. String path = request.getContextPath();
  6. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  7. %>
  8. <!DOCTYPE html>
  9. <html>
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  12. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css" type="text/css"></link>
  13. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  14. <link rel="stylesheet" href="<%=basePath %>resource/css/tree.css" type="text/css"></link>
  15. <link rel="stylesheet" type="text/css" href="<%=basePath %>resource/ux/css/CheckHeader.css" />
  16. <style>
  17. .custom .x-grid-row .x-grid-cell {
  18. color: null;
  19. font: normal 11px tahoma, arial, verdana, sans-serif;
  20. background-color: #f1f1f1;
  21. height: 26px;
  22. line-height: 26px;
  23. border: 1px solid white !important;
  24. }
  25. </style>
  26. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  27. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  28. <script type="text/javascript" src="<%=basePath %>resource/ux/CheckColumn.js"></script>
  29. <script type="text/javascript">
  30. var caller = "SysNavigation";
  31. Ext.Loader.setConfig({
  32. enabled: true
  33. });//开启动态加载
  34. Ext.application({
  35. name: 'erp',//为应用程序起一个名字,相当于命名空间
  36. appFolder: basePath+'app',//app文件夹所在路径
  37. controllers: [//声明所用到的控制层
  38. 'ma.SysNavigation'
  39. ],
  40. launch: function() {
  41. Ext.create('erp.view.ma.SysNavigation');//创建视图
  42. }
  43. });
  44. </script>
  45. </head>
  46. <body >
  47. </body>
  48. </html>