dataListCombo.jsp 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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" type="text/css" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css"/>
  13. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  14. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  15. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  16. <script type="text/javascript" src="<%=basePath %>resource/ux/grid/GridHeaderFilters.js"></script>
  17. <script type="text/javascript" src="<%=basePath %>resource/ux/data/PagingMemoryProxy.js"></script>
  18. <script type="text/javascript">
  19. //问题反馈编号:2016120061
  20. Ext.Loader.setConfig({
  21. enabled: true
  22. });//开启动态加载
  23. Ext.application({
  24. name: 'erp',//为应用程序起一个名字,相当于命名空间
  25. appFolder: basePath+'app',//app文件夹所在路径
  26. controllers: [//声明所用到的控制层
  27. 'ma.DataListCombo'
  28. ],
  29. launch: function() {
  30. Ext.create('erp.view.ma.comboset.DataListCombo');//创建视图
  31. }
  32. });
  33. var height = window.innerHeight;
  34. if(Ext.isIE){//ie不支持window.innerHeight;document.documentElement.clientHeight == 0
  35. height = screen.height*0.73;
  36. }
  37. var url = basePath + 'jsps/ma/ComboSet.jsp';
  38. var pageSize = parseInt(height*0.75/23);
  39. var formCondition = '';
  40. var gridCondition = '';
  41. var condition = '';
  42. </script>
  43. </head>
  44. <body >
  45. </body>
  46. </html>