ComboSet.jsp 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. <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">
  17. //问题反馈编号:2016120061
  18. Ext.Loader.setConfig({
  19. enabled: true
  20. });//开启动态加载
  21. Ext.application({
  22. name: 'erp',//为应用程序起一个名字,相当于命名空间
  23. appFolder: basePath+'app',//app文件夹所在路径
  24. controllers: [//声明所用到的控制层
  25. 'ma.ComboSet'
  26. ],
  27. launch: function() {
  28. Ext.create('erp.view.ma.comboset.ComboSet');//创建视图
  29. }
  30. });
  31. var gridCondition =getUrlParam('gridCondition');
  32. gridCondition = (gridCondition == null || gridCondition == "null") ? "" : gridCondition;
  33. gridCondition = gridCondition.replace(/IS/g, "=");
  34. var caller = gridCondition.substring(gridCondition.indexOf('=')+1,gridCondition.lastIndexOf(' AND'));
  35. var field = gridCondition.substring(gridCondition.lastIndexOf('=')+1);
  36. </script>
  37. </head>
  38. <body >
  39. </body>
  40. </html>