batchupdate.jsp 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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" type="text/css" 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" src="<%=basePath %>resource/ux/grid/Export.js"></script>
  16. <style type="text/css">
  17. #filebutton {
  18. height:24px;
  19. border: 1px solid #bdbdbd;
  20. }
  21. </style>
  22. <script type="text/javascript">
  23. Ext.Loader.setConfig({
  24. enabled: true
  25. });//开启动态加载
  26. Ext.application({
  27. name: 'erp',//为应用程序起一个名字,相当于命名空间
  28. appFolder: basePath+'app',//app文件夹所在路径
  29. controllers: [//声明所用到的控制层
  30. 'common.BatchUpdate'
  31. ],
  32. launch: function() {
  33. Ext.create('erp.view.common.batchUpdate.Viewport');
  34. }
  35. });
  36. var gridCondition="";
  37. var caller = getUrlParam('whoami');
  38. </script>
  39. </head>
  40. <body>
  41. </body>
  42. </html>