04026bc5c41ba2e3dcbbee9c88a0f3007b3663cc.svn-base 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="../../css/body.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>
  6. <![CDATA[公用管理 >> 代码管理 >> Glue 日志查看]]>
  7. </xhtml:title>
  8. <model id="model1" autocdata="false">
  9. <instance id="instance1">
  10. <root xmlns="">
  11. <formData>
  12. <searchInfo>
  13. <DATE/>
  14. <JVM>jvm1</JVM>
  15. <LOG/>
  16. </searchInfo>
  17. <extInfo>
  18. <NEXT/>
  19. <PAGE/>
  20. </extInfo>
  21. </formData>
  22. <gridData>
  23. </gridData>
  24. </root>
  25. </instance>
  26. <script type="javascript" ev:event="xforms-ready">
  27. <![CDATA[
  28. if (window.parent == null) Init();
  29. ]]>
  30. </script>
  31. </model>
  32. <script type="javascript" src="../../js/boaCommon.js"/>
  33. <script type="javascript" src="../../js/boaMsg.js"/>
  34. <script type="javascript" src="../../js/mesCommon.js">
  35. <![CDATA[
  36. var submitID = "UIZ010050-service";
  37. var isValid = true;
  38. function Init(node) {
  39. // InitParams(node);
  40. // isValid = model.getValue("/root/initData/rcvInfo/ROOT_AMN_YN") == "Y";
  41. }
  42. function find() {
  43. if (isValid == false) return;
  44. exec("/root/formData/searchInfo", "", "find", "/root/gridData/ListResult_0_VO");
  45. model.removenode("/root/reqData");
  46. model.removenode("/root/resData");
  47. model.refresh();
  48. group3.visible = Number(model.getXPathValue("count(/root/gridData/ListResult_0_VO)")) > 0;
  49. }
  50. function find2() {
  51. if (isValid == false) return;
  52. exec("/root/formData", "", "find", "/root/gridData/ListResult_0_VO");
  53. model.removenode("/root/reqData");
  54. model.removenode("/root/resData");
  55. model.refresh();
  56. }
  57. ]]>
  58. </script>
  59. </xhtml:head>
  60. <xhtml:body overflow="hidden" pagewidth="980" pageheight="620" style="font-family:宋体; ">
  61. <group id="group1" overflow="hidden" ref="/root/formData/searchInfo" style="left:0px; top:0px; width:980px; height:30px; ">
  62. <line id="line2" style="x1:0px; y1:29px; x2:980px; y2:29px; "/>
  63. <caption id="caption3" class="cell" style="left:0px; top:5px; width:90px; height:20px; vertical-align:middle; ">日期时间</caption>
  64. <input id="input1" ref="DATE" format="yyyy-mm-dd hh:nn:ss" mask="include" style="left:92px; top:5px; width:125px; height:20px; "/>
  65. <caption id="caption1" class="cell" style="left:227px; top:5px; width:90px; height:20px; vertical-align:middle; ">虚拟机</caption>
  66. <select1 id="combo1" ref="JVM" appearance="minimal" style="left:319px; top:5px; width:125px; height:20px; ">
  67. <choices>
  68. <item>
  69. <label>TOMCAT 1</label>
  70. <value>jvm1</value>
  71. </item>
  72. <item>
  73. <label>TOMCAT 2</label>
  74. <value>jvm2</value>
  75. </item>
  76. <item>
  77. <label>TOMCAT 3</label>
  78. <value>jvm3</value>
  79. </item>
  80. </choices>
  81. </select1>
  82. <caption id="caption6" class="cell" style="left:454px; top:5px; width:90px; height:20px; vertical-align:middle; ">日志文件号</caption>
  83. <input id="input2" ref="DATE" format="#,###" mask="include" style="left:546px; top:5px; width:125px; height:20px; text-align:right; "/>
  84. <group id="group3" visibility="hidden" overflow="hidden" ref="/root/formData/searchInfo" style="left:700px; top:0px; width:280px; height:25px; ">
  85. <caption id="caption12" style="left:155px; top:5px; width:15px; height:20px; ">第</caption>
  86. <caption id="caption13" style="left:245px; top:5px; width:15px; height:20px; ">条</caption>
  87. <button id="button1" style="left:0px; top:5px; width:85px; height:20px; background-image:../../images/cal_pre_m.gif; ">
  88. <caption>上一条</caption>
  89. <script type="javascript" ev:event="onclick">
  90. <![CDATA[
  91. model.setValue("/root/formData/extInfo/NEXT", "-1");
  92. find2();
  93. ]]>
  94. </script>
  95. </button>
  96. <button id="button2" style="left:80px; top:5px; width:85px; height:20px; background-image:../../images/cal_next_m.gif; ">
  97. <caption>下一条</caption>
  98. <script type="javascript" ev:event="onclick">
  99. <![CDATA[
  100. model.setValue("/root/formData/extInfo/NEXT", "1");
  101. find2();
  102. ]]>
  103. </script>
  104. </button>
  105. <input id="input6" ref="/root/formData/extInfo/PAGE" format="#,###" mask="include" style="left:175px; top:5px; width:65px; height:20px; text-align:right; "/>
  106. <button id="button3" style="left:260px; top:5px; width:20px; height:20px; background-image:../../images/cal_next_Y.gif; ">
  107. <caption/>
  108. <script type="javascript" ev:event="onclick">
  109. <![CDATA[
  110. if (model.getValue("/root/formData/extInfo/PAGE") != "") {
  111. model.setValue("/root/formData/extInfo/NEXT", "0");
  112. find2();
  113. }
  114. ]]>
  115. </script>
  116. </button>
  117. </group>
  118. </group>
  119. <group id="group2" overflow="hidden" ref="/root/gridData/ListResult_0_VO/ListResult_0_Row" style="left:0px; top:35px; width:980px; height:585px; ">
  120. <caption id="caption2" class="cell" style="left:0px; top:0px; width:90px; height:20px; vertical-align:middle; ">语句体</caption>
  121. <textarea id="textarea1" ref="sqlQuery" scroll="auto" editable="false" style="left:0px; top:25px; width:690px; height:560px; vertical-align:top; word-wrap:hard; "/>
  122. <caption id="caption5" class="cell" style="left:100px; top:0px; width:90px; height:20px; vertical-align:middle; ">运行时间</caption>
  123. <output id="output1" ref="dateTime" style="left:192px; top:0px; width:498px; height:20px; border-color:#c0c0c0; border-style:solid; "/>
  124. <caption id="caption4" class="cell" style="left:700px; top:0px; width:90px; height:20px; vertical-align:middle; ">语句参数</caption>
  125. <textarea id="textarea2" ref="params" scroll="auto" editable="false" style="left:700px; top:25px; width:280px; height:560px; vertical-align:top; "/>
  126. </group>
  127. </xhtml:body>
  128. </xhtml:html>