SPADB63400_회사검색.xrw 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.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. <![CDATA[">]]>
  6. <xhtml:title>회사검색</xhtml:title>
  7. <model id="model1">
  8. <instance id="instance1">
  9. <root xmlns="">
  10. <main>
  11. <prodcmpy>
  12. <prodcmpycd/>
  13. <prodcmpynm/>
  14. </prodcmpy>
  15. </main>
  16. <send>
  17. <srchinfo>
  18. <srchcnts/>
  19. <srchcond/>
  20. </srchinfo>
  21. </send>
  22. <hidden>
  23. <receiveref/>
  24. </hidden>
  25. <init>
  26. </init>
  27. </root>
  28. </instance>
  29. <script type="javascript" ev:event="xforms-ready">
  30. <![CDATA[
  31. submit("TRADB63401");
  32. ]]>
  33. </script>
  34. <submission id="TRADB63401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/prodcmpy"/>
  35. </model>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  38. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  39. <script type="javascript">
  40. <![CDATA[
  41. function sendData(){
  42. if ( checkOpener() ) {
  43. var receiveref = model.getValue("/root/hidden/receiveref");
  44. opener.model.setValue(receiveref, grd_prodcmpy.valueMatrix(grd_prodcmpy.row, grd_prodcmpy.colRef("prodcmpynm")));
  45. window.close();
  46. } else {
  47. alert("상위화면이 변경되어 데이터를 전달할 수 없습니다.");
  48. }
  49. }
  50. ]]>
  51. </script>
  52. </xhtml:head>
  53. <xhtml:body pagewidth="350" pageheight="380" guideline="1,445;2,380;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  54. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:3px; top:21px; width:322px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  55. <caption id="caption2" class="tit_2" style="left:0px; top:4px; width:140px; height:13px; vertical-align:middle; background-image:../../../com/commonweb/images/tit_bullet2.gif; ">회사검색</caption>
  56. <caption id="caption3" class="search_name" style="left:7px; top:30px; width:86px; height:17px; background-image:../../../com/commonweb/images/search_bullet1.gif; ">회사명 :</caption>
  57. <line id="line1" style="x1:258px; y1:27px; x2:258px; y2:49px; border-color:#ffe4bb; border-left-style:solid; "/>
  58. <input id="input1" ref="/root/send/srchinfo/srchcnts" class="input_search" style="left:86px; top:29px; width:159px; height:19px; ">
  59. <script type="javascript" ev:event="onkeypress">
  60. <![CDATA[
  61. inputEnterKey("btn_req", "DOMActivate");
  62. ]]>
  63. </script>
  64. </input>
  65. <line id="line3" class="line_1" style="x1:4px; y1:58px; x2:320px; y2:59px; "/>
  66. <button id="btn_req" class="btn1_letter2" style="left:265px; top:28px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  67. <caption>조회</caption>
  68. <script type="javascript" ev:event="DOMActivate">
  69. <![CDATA[
  70. submit("TRADB63401");
  71. ]]>
  72. </script>
  73. </button>
  74. <button id="btn_cfm" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:214px; top:354px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  75. <caption>확인</caption>
  76. <script type="javascript" ev:event="DOMActivate">
  77. <![CDATA[
  78. sendData();
  79. ]]>
  80. </script>
  81. </button>
  82. <button id="btn_can" class="btn4_letter2" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:271px; top:354px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
  83. <caption>취소</caption>
  84. <close ev:event="DOMActivate"/>
  85. </button>
  86. <datagrid id="grd_prodcmpy" nodeset="/root/main/prodcmpy" caption="회사코드^회사명" colsep="^" colwidth="65, 213" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:4px; top:63px; width:320px; height:284px; background-color:#ffffff; border-color:#B0B0B0; ">
  87. <col ref="prodcmpycd" style="text-align:center; "/>
  88. <col ref="prodcmpynm" style="text-align:center; "/>
  89. <script type="javascript" ev:event="ondblclick">
  90. <![CDATA[
  91. if(!isDataCell()) return;
  92. sendData();
  93. ]]>
  94. </script>
  95. </datagrid>
  96. </xhtml:body>
  97. </xhtml:html>