navigationDetails.jsp 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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>
  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. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  13. <style type="text/css">
  14. .x-html-editor-wrap textarea {
  15. background-color: #EEE8CD;
  16. }
  17. body{
  18. background: #f1f1f1;
  19. }
  20. .x-panel-body-default {
  21. background: #f9f9f9;
  22. border-color: #d0d0d0;
  23. color: black;
  24. border-width: 1px;
  25. border-style: solid
  26. }
  27. </style>
  28. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  29. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  30. <script type="text/javascript">
  31. Ext.Loader.setConfig({
  32. enabled: true
  33. });//开启动态加载
  34. Ext.application({
  35. name: 'erp',//为应用程序起一个名字,相当于命名空间
  36. appFolder: basePath+'app',//app文件夹所在路径
  37. controllers: [//声明所用到的控制层
  38. 'common.NavigationDetails'
  39. ],
  40. launch: function() {
  41. Ext.create('erp.view.common.NavigationDetails');//创建视图
  42. }
  43. });
  44. var username = '<%=session.getAttribute("username")%>';
  45. var em_name = '<%=session.getAttribute("em_name")%>';
  46. var em_uu = '<%=session.getAttribute("em_uu")%>';
  47. var en_uu = '<%=session.getAttribute("en_uu")%>';
  48. var em_code = '<%=session.getAttribute("em_code")%>';
  49. var en_email ='<%=session.getAttribute("en_email")%>';
  50. var em_id ='<%=session.getAttribute("em_id")%>';
  51. var em_type = '<%=session.getAttribute("em_type")%>';
  52. var id = getUrlParam('id');
  53. </script>
  54. </head>
  55. <body >
  56. </body>
  57. </html>