hrOrg.jsp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
  4. <%
  5. String path = request.getContextPath();
  6. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  7. %>
  8. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  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. <!--[if IE]>
  14. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-ie-scoped.css" type="text/css"></link>
  15. <![endif]-->
  16. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  17. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  18. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  19. <script type="text/javascript">
  20. Ext.Loader.setConfig({
  21. enabled: true,
  22. });//开启动态加载
  23. Ext.application({
  24. name: 'erp',//为应用程序起一个名字,相当于命名空间
  25. appFolder: basePath+'app',//app文件夹所在路径
  26. controllers: [//声明所用到的控制层
  27. 'hr.emplmana.HrOrg'
  28. ],
  29. launch: function() {
  30. Ext.create('erp.view.hr.emplmana.HrOrg');
  31. }
  32. });
  33. var caller = "HrOrg";
  34. var formCondition = '';
  35. var gridCondition = '';
  36. </script>
  37. </head>
  38. <body>
  39. </body>
  40. </html>