1bf734806793e484d5c1e3b258f0bf0be016adaf.svn-base 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <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">
  3. <xhtml:head>
  4. <xhtml:title>Untitle</xhtml:title>
  5. <model id="model1">
  6. <instance id="instance1">
  7. <root xmlns="">
  8. <formData>
  9. <searchInfo>
  10. <CRET_NO>XR9-000791</CRET_NO>
  11. <TMPL_NM>UIB021120</TMPL_NM>
  12. <template>UIB021120</template>
  13. </searchInfo>
  14. <saveInfo>
  15. <INV_NO>123</INV_NO>
  16. <ORD_NO/>
  17. <ORD_SEQ/>
  18. <CUST_CD/>
  19. <ORDCUST_CD/>
  20. <ORD_USE_TP/>
  21. <SPEC_ABBSYM/>
  22. <CAR_GP/>
  23. <SUM_WGT/>
  24. <SUM_CNT/>
  25. </saveInfo>
  26. </formData>
  27. <gridData>
  28. <info>
  29. <number>-1000000</number>
  30. <number>1000000</number>
  31. <number>0</number>
  32. </info>
  33. </gridData>
  34. </root>
  35. </instance>
  36. </model>
  37. <script type="javascript" src="../../js/boaCommon.js"/>
  38. <script type="javascript" src="../../js/mesCommon.js"/>
  39. <script type="javascript">
  40. <![CDATA[
  41. ]]>
  42. </script>
  43. </xhtml:head>
  44. <xhtml:body overflow="hidden" pagewidth="980" pageheight="620" style="font-family:áä&#20307;; ">
  45. <button id="button1" style="left:190px; top:100px; width:100px; height:20px; ">
  46. <caption>Excel</caption>
  47. <script type="javascript" ev:event="onclick">
  48. <![CDATA[
  49. commSendReq("/root/formData/searchInfo");
  50. // excelSubmit("UIB021120-service", "find");
  51. var reqData = setReqData(model.instances(0).selectSingleNode("/root/reqData"));
  52. // browser1.Navigate(url + "etAction.jsp?ServiceName=UIB021120-service&find=1" + reqData);
  53. window.load(url + "etAction.jsp?ServiceName=UIB021120-service&find=1" + reqData, "html");
  54. ]]>
  55. </script>
  56. </button>
  57. <button id="button2" style="left:520px; top:90px; width:100px; height:20px; ">
  58. <caption>button2</caption>
  59. <script type="javascript" ev:event="onclick">
  60. <![CDATA[
  61. //alert("Hello".substring(1));
  62. window.load("./excel.xrw", "new");
  63. ]]>
  64. </script>
  65. </button>
  66. <input id="input1" ref="/root/gridData/info/number" format="(-)#,###" style="left:525px; top:55px; width:100px; height:20px; "/>
  67. <input id="input2" ref="/root/formData/searchInfo/CRET_NO" style="left:185px; top:50px; width:100px; height:20px; "/>
  68. <button id="button3" style="left:520px; top:125px; width:100px; height:20px; ">
  69. <caption>button3</caption>
  70. <script type="javascript" ev:event="onclick">
  71. <![CDATA[
  72. var cnt = 0;
  73. var wins = null;
  74. var win = window;
  75. while (win.parent != null) {
  76. wins = win;
  77. win = win.parent;
  78. }
  79. if (wins != null) wins.close();
  80. win.load("http://localhost:8080/xgmes3/Excel/image.jsp", "html");
  81. // for (var i = win.children.length - 1; i >= 0; i--)
  82. // children.item(i).close();
  83. ]]>
  84. </script>
  85. </button>
  86. <button id="button4" style="left:190px; top:130px; width:100px; height:20px; ">
  87. <caption>SaveExcel</caption>
  88. <script type="javascript" ev:event="onclick">
  89. <![CDATA[
  90. submitID = "NIB021100-service";
  91. exec("/root/formData");
  92. ]]>
  93. </script>
  94. </button>
  95. </xhtml:body>
  96. </xhtml:html>